File size: 424 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import { Alert, Button } from "@chakra-ui/react"
export const AlertWithButtons = () => {
return (
<Alert.Root>
<Alert.Indicator />
<Alert.Content>
<Alert.Title>This is the alert title</Alert.Title>
<Alert.Description>This is the alert description</Alert.Description>
</Alert.Content>
<Button size="sm" alignSelf="center">
Action
</Button>
</Alert.Root>
)
}
|