Skip to content

Commit 262a4ef

Browse files
author
Artem Sapegin
committed
More button examples
1 parent 7f1358f commit 262a4ef

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/components/core/Button/Button.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,15 @@ Disabled buttons:
1010
<Button disabled>Can’t touch this</Button> <Button variant="primary" disabled>Can’t touch this</Button>
1111
```
1212

13+
1314
Full width button:
1415

15-
```jsx
16-
<Button fullWidth>Looooong cat button</Button>
16+
```js
17+
<Button fullWidth>Click me</Button> <Button variant="primary" fullWidth>Click me</Button>
18+
```
19+
20+
Button as a link:
21+
22+
```js
23+
<Button as="a" href="/">Click me</Button> <Button as="a" href="/" variant="primary">Click me</Button>
1724
```

0 commit comments

Comments
 (0)