UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

16 lines 593 B
import type React from 'react'; import type { SxProp } from '../sx'; type MessageVariant = 'critical' | 'success' | 'unavailable' | 'warning'; export type InlineMessageProps = React.ComponentPropsWithoutRef<'div'> & SxProp & { /** * Specify the size of the InlineMessage */ size?: 'small' | 'medium'; /** * Specify the type of the InlineMessage */ variant: MessageVariant; }; export declare function InlineMessage({ children, className, size, variant, ...rest }: InlineMessageProps): React.JSX.Element; export {}; //# sourceMappingURL=InlineMessage.d.ts.map