@datalayer/core
Version:
[](https://datalayer.io)
20 lines (19 loc) • 573 B
TypeScript
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: ({ actions, children, closable, variant, sx, ...others }: IFlashDatalayerProps) => JSX.Element;
export default FlashClosable;