Files
react-test/test/regressions/fixtures/Button/IconLabelButtons.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
767 B
JavaScript
Raw Permalink Normal View History

2025-12-12 14:26:25 +09:00
import * as React from 'react';
import Button from '@mui/material/Button';
import Icon from '@mui/material/Icon';
import SendIcon from '@mui/icons-material/Send';
export default function IconLabelButtons() {
return (
<div>
<Button variant="contained" color="secondary" startIcon={<SendIcon />}>
Send
</Button>
<Button variant="contained" endIcon={<Icon>send</Icon>}>
Send
</Button>
<Button variant="contained" disabled color="secondary" startIcon={<SendIcon />}>
Send
</Button>
<Button variant="contained" size="small" startIcon={<SendIcon />}>
Send
</Button>
<Button variant="contained" size="large" startIcon={<SendIcon />}>
Send
</Button>
</div>
);
}