File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
docs/content/components/ButtonGroup
next-docs/content/components/ButtonGroup Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,13 @@ The ButtonGroup component can be rendered in different sizes in `medium` and `la
44
44
The ` Button ` component can render as a ` button ` or ` a ` HTML element. By default, it will render as a ` button ` .
45
45
46
46
``` jsx live
47
- < ButtonGroup buttonsAs= " a" >
48
- < Button> This is one link< / Button>
49
- < Button> This is another link< / Button>
47
+ < ButtonGroup>
48
+ < Button as= " a" href= " #" >
49
+ This is one link
50
+ < / Button>
51
+ < Button as= " a" href= " #" >
52
+ This is another link
53
+ < / Button>
50
54
< / ButtonGroup>
51
55
```
52
56
Original file line number Diff line number Diff line change @@ -44,9 +44,13 @@ The ButtonGroup component can be rendered in different sizes in `medium` and `la
44
44
The ` Button ` component can render as a ` button ` or ` a ` HTML element. By default, it will render as a ` button ` .
45
45
46
46
``` jsx live
47
- < ButtonGroup buttonsAs= " a" >
48
- < Button> This is one link< / Button>
49
- < Button> This is another link< / Button>
47
+ < ButtonGroup>
48
+ < Button as= " a" href= " #" >
49
+ This is one link
50
+ < / Button>
51
+ < Button as= " a" href= " #" >
52
+ This is another link
53
+ < / Button>
50
54
< / ButtonGroup>
51
55
```
52
56
You can’t perform that action at this time.
0 commit comments