Button
Example
import { Button } from "@databricks/appkit-ui/react"
export default function ButtonExample() {
return <Button>Button</Button>
}
Button
Source: packages/appkit-ui/src/react/ui/button.tsx
Props
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
variant | "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | - | - | |
size | "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | - | - | |
asChild | boolean | false | - |
Usage
import { Button } from '@databricks/appkit-ui';
<Button /* props */ />