UNPKG

@veracity/vui

Version:

Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.

19 lines (18 loc) 723 B
import { SystemProps } from "../system/system.js"; import "../system/index.js"; import { ReactNode } from "react"; //#region src/message/message.types.d.ts type MessageIntent = 'info' | 'success' | 'warning' | 'danger'; type MessageProps = SystemProps & { /** Displays given text if no children are provided. */ text?: ReactNode; /** @deprecated `lg` is removed — maps to `md`. */ size?: 'sm' | 'md' | 'lg'; /** Semantic intent controlling the icon and color. */ intent?: MessageIntent; /** @deprecated Use `intent` instead. `error` maps to `danger`. */ variant?: MessageIntent | 'error' | (string & {}); }; //#endregion export { MessageIntent, MessageProps }; //# sourceMappingURL=message.types.d.ts.map