@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
35 lines (34 loc) • 1.35 kB
TypeScript
import { BoxProps, ElementProps, Factory, StylesApiProps } from '../../core';
import { __BaseInputProps, __InputStylesNames } from '../Input';
import { type PillsInputContextValue } from './PillsInput.context';
import { PillsInputField, type PillsInputFieldProps, type PillsInputFieldFactory, type PillsInputFieldStylesNames } from './PillsInputField/PillsInputField';
export interface PillsInputProps extends BoxProps, __BaseInputProps, StylesApiProps<PillsInputFactory>, ElementProps<'div', 'size'> {
__stylesApiProps?: Record<string, any>;
__staticSelector?: string;
}
export type PillsInputFactory = Factory<{
props: PillsInputProps;
ref: HTMLDivElement;
stylesNames: __InputStylesNames;
staticComponents: {
Field: typeof PillsInputField;
};
}>;
export declare const PillsInput: import("../..").MantineComponent<{
props: PillsInputProps;
ref: HTMLDivElement;
stylesNames: __InputStylesNames;
staticComponents: {
Field: typeof PillsInputField;
};
}>;
export declare namespace PillsInput {
type Props = PillsInputProps;
type Factory = PillsInputFactory;
type ContextValue = PillsInputContextValue;
namespace Field {
type Props = PillsInputFieldProps;
type Factory = PillsInputFieldFactory;
type StylesNames = PillsInputFieldStylesNames;
}
}