Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Dec 26, 2024
1 parent ee267a4 commit 7f84cd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/components/src/button/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ Lets users take actions and make choices with a single click or tap.

```jsx
import { Button } from '@wordpress/components';
const Mybutton = () => (
const MyButton = () => (
<Button
variant="primary"
onClick={ handleClick }
__next40pxDefaultSize
>
Click here
</Button>
Expand Down

0 comments on commit 7f84cd2

Please sign in to comment.