UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

24 lines (23 loc) 867 B
import { BoxProps, ElementProps, Factory, MantineFontSize, StylesApiProps } from '../../../core'; export type InputErrorStylesNames = 'error'; export type InputErrorCssVariables = { error: '--input-error-size'; }; export interface InputErrorProps extends BoxProps, StylesApiProps<InputErrorFactory>, ElementProps<'div'> { __staticSelector?: string; __inheritStyles?: boolean; /** Controls error `font-size`, `'sm'` by default */ size?: MantineFontSize; } export type InputErrorFactory = Factory<{ props: InputErrorProps; ref: HTMLParagraphElement; stylesNames: InputErrorStylesNames; vars: InputErrorCssVariables; }>; export declare const InputError: import("../../../core").MantineComponent<{ props: InputErrorProps; ref: HTMLParagraphElement; stylesNames: InputErrorStylesNames; vars: InputErrorCssVariables; }>;