@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
21 lines (20 loc) • 913 B
TypeScript
import React from 'react';
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';
}
export type InlineInputFactory = Factory<{
props: any;
stylesNames: InlineInputStylesNames;
}>;
export declare const InlineInput: React.ForwardRefExoticComponent<InlineInputProps & React.RefAttributes<HTMLDivElement>>;