@accelint/design-toolkit
Version:
An open-source component library to serve as part of the entire ecosystem of UX for Accelint.
21 lines (18 loc) • 768 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import * as react from 'react';
import { ContextValue } from 'react-aria-components';
import { ProviderProps } from '../../lib/types.js';
import { TextAreaFieldProps } from './types.js';
/**
* Context for TextAreaField component
*
* Provides context for TextAreaField component to share props
*/
declare const TextAreaFieldContext: react.Context<ContextValue<TextAreaFieldProps, HTMLDivElement>>;
/**
* Provider for TextAreaField component
*
* Allows setting default props for all TextAreaField components within
*/
declare function TextAreaFieldProvider({ children, ...props }: ProviderProps<TextAreaFieldProps>): react_jsx_runtime.JSX.Element;
export { TextAreaFieldContext, TextAreaFieldProvider };