@primer/react
Version:
An implementation of GitHub's Primer Design System using React
11 lines • 475 B
TypeScript
import React from 'react';
import type { SxProp } from '../sx';
import type { ForwardRefComponent as PolymorphicForwardRefComponent } from '../utils/polymorphic';
export type FlashProps = React.ComponentPropsWithoutRef<'div'> & {
className?: string;
variant?: 'default' | 'warning' | 'success' | 'danger';
full?: boolean;
} & SxProp;
declare const Flash: PolymorphicForwardRefComponent<"div", FlashProps>;
export default Flash;
//# sourceMappingURL=Flash.d.ts.map