refactor(♻️ Add defaults everywhere (+ settings page)):
This commit is contained in:
9
apps/builder/components/shared/Info.tsx
Normal file
9
apps/builder/components/shared/Info.tsx
Normal file
@ -0,0 +1,9 @@
|
||||
import { Alert, AlertIcon, AlertProps } from '@chakra-ui/react'
|
||||
import React from 'react'
|
||||
|
||||
export const Info = (props: AlertProps) => (
|
||||
<Alert status="info" bgColor={'blue.50'} rounded="md" {...props}>
|
||||
<AlertIcon />
|
||||
{props.children}
|
||||
</Alert>
|
||||
)
|
Reference in New Issue
Block a user