juny-react-style / Exports / AlertProps
• Optional
$animation: boolean
src/component/Alert/Alert.type.ts:17
• Optional
$backgroundColor: string
src/component/Alert/Alert.type.ts:15
• Optional
children: ReactNode
| ReactNode
[]
src/component/Alert/Alert.type.ts:9
• Optional
closeButtonSize: string
src/component/Alert/Alert.type.ts:14
• Optional
gap: string
src/component/Alert/Alert.type.ts:13
• Optional
index: number
src/component/Alert/Alert.type.ts:12
• Optional
level: "default"
| "primary"
| "secondary"
| "info"
| "success"
| "danger"
| "warning"
src/component/Alert/Alert.type.ts:11
• Optional
onClose: (item
: ReactNode
) => void
▸ (item
): void
Name | Type |
---|---|
item |
ReactNode |
void
src/component/Alert/Alert.type.ts:16
• Optional
position: "top-right"
| "top-center"
| "top-left"
| "middle-left"
| "middle-center"
| "middle-right"
| "bottom-left"
| "bottom-center"
| "bottom-right"
src/component/Alert/Alert.type.ts:6
• Optional
theme: DefaultTheme
| ThemeContextType