UNPKG

@datalayer/core

Version:
23 lines (22 loc) 579 B
import { FlashProps } from '@primer/react'; /** * {@link FlashClosable} component properties */ export interface IFlashDatalayerProps extends FlashProps { /** * Actions to display in the flash message */ actions?: React.ReactNode; /** * Whether the flash component is closable or not (default not) */ closable?: boolean; } /** * Closable flash component with actions. */ export declare const FlashClosable: { (props: IFlashDatalayerProps): JSX.Element; defaultProps: Partial<IFlashDatalayerProps>; }; export default FlashClosable;