File tree Expand file tree Collapse file tree 3 files changed +6
-17
lines changed
docs/data/joy/components/button Expand file tree Collapse file tree 3 files changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,13 @@ import Box from '@mui/joy/Box';
33import Button from '@mui/joy/Button' ;
44import Add from '@mui/icons-material/Add' ;
55import KeyboardArrowRight from '@mui/icons-material/KeyboardArrowRight' ;
6- import ThumbUp from '@mui/icons-material/ThumbUp' ;
76
87export default function ButtonIcons ( ) {
98 return (
109 < Box sx = { { display : 'flex' , gap : 2 , flexWrap : 'wrap' } } >
1110 < Button startDecorator = { < Add /> } > Add to cart</ Button >
12- < Button aria-label = "Like" variant = "outlined" color = "neutral" >
13- < ThumbUp />
14- </ Button >
15- < Button variant = "soft" endDecorator = { < KeyboardArrowRight /> } color = "success" >
16- Checkout
11+ < Button endDecorator = { < KeyboardArrowRight /> } color = "success" >
12+ Go to checkout
1713 </ Button >
1814 </ Box >
1915 ) ;
Original file line number Diff line number Diff line change @@ -3,17 +3,13 @@ import Box from '@mui/joy/Box';
33import Button from '@mui/joy/Button' ;
44import Add from '@mui/icons-material/Add' ;
55import KeyboardArrowRight from '@mui/icons-material/KeyboardArrowRight' ;
6- import ThumbUp from '@mui/icons-material/ThumbUp' ;
76
87export default function ButtonIcons ( ) {
98 return (
109 < Box sx = { { display : 'flex' , gap : 2 , flexWrap : 'wrap' } } >
1110 < Button startDecorator = { < Add /> } > Add to cart</ Button >
12- < Button aria-label = "Like" variant = "outlined" color = "neutral" >
13- < ThumbUp />
14- </ Button >
15- < Button variant = "soft" endDecorator = { < KeyboardArrowRight /> } color = "success" >
16- Checkout
11+ < Button endDecorator = { < KeyboardArrowRight /> } color = "success" >
12+ Go to checkout
1713 </ Button >
1814 </ Box >
1915 ) ;
Original file line number Diff line number Diff line change 11<Button startDecorator={<Add />}>Add to cart</Button>
2- <Button aria-label="Like" variant="outlined" color="neutral">
3- <ThumbUp />
4- </Button>
5- <Button variant="soft" endDecorator={<KeyboardArrowRight />} color="success">
6- Checkout
2+ <Button endDecorator={<KeyboardArrowRight />} color="success">
3+ Go to checkout
74</Button>
You can’t perform that action at this time.
0 commit comments