#ModalHeader
import ModalHeader from "@poodle/ui/ModalHeader";
Please check modal document to see the example usage.
#Theming
Please check theming component document here.
export interface ModalHeaderThemeConfigextends StandardThemeConfig<ModalHeaderStyleKeys, ModalHeaderProps> {}
#Props
#Local Props
Name | Type | Description |
---|---|---|
children | React.ReactNode | |
closeProps | BoxProps | Custom props for close icon button |
contentProps | BoxProps | Custom props for content element |
icon | React.ReactNode | Add icon to the header |
iconProps | BoxProps | Custom props for icon element |
withClose | boolean | Add close icon button |
#Full Props
export interface ModalHeaderPropsextends BoxProps,StandardComponentProps,LocalModalHeaderProps {}