UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

25 lines (24 loc) 1.21 kB
import { BoxProps, ElementProps, Factory, MantineSize, StylesApiProps } from '../../core'; export declare const InlineInputClasses: any; export type InlineInputStylesNames = 'root' | 'body' | 'labelWrapper' | 'label' | 'description' | 'error'; export interface InlineInputProps extends BoxProps, StylesApiProps<InlineInputFactory>, ElementProps<'div'> { __staticSelector: string; __stylesApiProps: Record<string, any>; label: React.ReactNode; description: React.ReactNode; id: string; disabled: boolean | undefined; error: React.ReactNode; size: MantineSize | (string & {}) | undefined; labelPosition?: 'left' | 'right'; bodyElement?: any; labelElement?: any; } export type InlineInputFactory = Factory<{ props: any; stylesNames: InlineInputStylesNames; }>; export declare function InlineInput({ __staticSelector, __stylesApiProps, className, classNames, styles, unstyled, children, label, description, id, disabled, error, size, labelPosition, bodyElement, labelElement, variant, style, vars, mod, attributes, ...others }: InlineInputProps): import("react/jsx-runtime").JSX.Element; export declare namespace InlineInput { var displayName: string; }