Button with icon
Last updated: 2.0.0 (18/01/2024)
Usage
import { ButtonWithIcon } from "@valence-ui/core";
import { IconPlus } from "@tabler/icons-react";
function MyComponent() {
return (
<ButtonWithIcon
size="md"
radius="sm"
variant="light"
icon={<IconPlus />}
>
Text and an icon!
</ButtonWithIcon>
)
}Props
Property
Type
Description
Last updated