@patreon/studio
Version:
Patreon Studio Design System
15 lines (14 loc) • 564 B
TypeScript
import React from 'react';
import type { BaseProps, ChildrenProps } from '~/types/component';
type Size = 'xs' | 'sm';
export interface InlineErrorProps extends BaseProps, Required<ChildrenProps> {
/**
* id of the associated input.
* @deprecated this property is ignored and will be removed in a future release
**/
inputId?: string;
/** The size of the text and icon, defaults to 'sm' */
size?: Size;
}
export declare function InlineError({ children, 'data-tag': dataTag, id, size }: InlineErrorProps): React.JSX.Element;
export {};