UNPKG

@trail-ui/react

Version:
16 lines (13 loc) 426 B
import * as react_jsx_runtime from 'react/jsx-runtime'; interface FlagProps { title: string; desc: string; variant: 'default' | 'success' | 'warning' | 'error' | 'info'; hasActionBtn?: boolean; actionBtnText?: string; onActionClick?: () => void; isClosable?: boolean; onClose?: () => void; } declare function Flag(props: FlagProps): react_jsx_runtime.JSX.Element; export { Flag, FlagProps };