mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-23 12:45:47 +00:00
19 lines
452 B
TypeScript
19 lines
452 B
TypeScript
import { Button } from "@/examples/base/ui/button"
|
|
import {
|
|
ButtonGroup,
|
|
ButtonGroupSeparator,
|
|
} from "@/examples/base/ui/button-group"
|
|
import { IconPlus } from "@tabler/icons-react"
|
|
|
|
export default function ButtonGroupSplit() {
|
|
return (
|
|
<ButtonGroup>
|
|
<Button variant="secondary">Button</Button>
|
|
<ButtonGroupSeparator />
|
|
<Button size="icon" variant="secondary">
|
|
<IconPlus />
|
|
</Button>
|
|
</ButtonGroup>
|
|
)
|
|
}
|