Skip to content

Conversation

@takurinton
Copy link
Contributor

@takurinton takurinton commented May 24, 2023

closes: #39

I added the following to Button.stories.tsx at local.

export const Primary: Story = {
  args: {
    primary: true,
    label: 'Button',
    onClick: () => console.dir('hello console.dir'), // <- add console.dir
  },
};

it works.
image

@takurinton
Copy link
Contributor Author

@ndelangen
Please check and review :)

@takurinton
Copy link
Contributor Author

@ndelangen
Thanks for the check and review!!
I don't have the authority to merge, please merge!!

@takurinton
Copy link
Contributor Author

Any timing is fine. :)

@ndelangen ndelangen merged commit bfaf1b4 into storybookjs:master May 25, 2023
@takurinton takurinton deleted the feature/console-dir branch May 25, 2023 18:30
@jakeRPowell jakeRPowell mentioned this pull request Sep 1, 2023
@github-actions
Copy link

🚀 PR was released in v3.0.0 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released This issue/pull request has been released.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

This doesn't work with console.dir

2 participants