@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
15 lines (14 loc) • 601 B
TypeScript
import React from 'react';
import { MantineSize } from '../../core';
import { InputVariant } from '../Input';
export interface PillsInputContextValue {
fieldRef: React.MutableRefObject<HTMLInputElement | undefined>;
size: MantineSize | (string & {});
disabled: boolean | undefined;
hasError: boolean | undefined;
variant: InputVariant | (string & {}) | undefined;
}
export declare const PillsInputProvider: ({ children, value }: {
value: PillsInputContextValue;
children: React.ReactNode;
}) => React.JSX.Element, usePillsInputContext: () => PillsInputContextValue | null;