mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
19 lines
352 B
TypeScript
19 lines
352 B
TypeScript
import {
|
|||
|
|
Button,
|
||
|
|
ButtonGroup,
|
||
|
|
ButtonGroupSeparator,
|
||
|
|
Icon,
|
||
|
|
} from "@lcui/react";
|
||
|
|
|
||
|
|
export default function Example() {
|
||
|
|
return (
|
||
|
|
<ButtonGroup>
|
||
|
|
<Button variant="secondary">Button</Button>
|
||
|
|
<ButtonGroupSeparator />
|
||
|
|
<Button variant="secondary" size="icon">
|
||
|
|
<Icon name="add" />
|
||
|
|
</Button>
|
||
|
|
</ButtonGroup>
|
||
|
|
);
|
||
|
|
}
|