Update report.api.md
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
@@ -1030,20 +1030,6 @@ export const TextField: React_2.ForwardRefExoticComponent<
|
||||
TextFieldProps & React_2.RefAttributes<HTMLInputElement>
|
||||
>;
|
||||
|
||||
// @public (undocumented)
|
||||
export type TextFieldOwnProps = GetPropDefTypes<typeof textFieldPropDefs>;
|
||||
|
||||
// @public (undocumented)
|
||||
export const textFieldPropDefs: {
|
||||
size: {
|
||||
type: 'enum';
|
||||
values: ('small' | 'medium')[];
|
||||
className: string;
|
||||
default: 'medium';
|
||||
responsive: true;
|
||||
};
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export interface TextFieldProps
|
||||
extends Omit<React.ComponentPropsWithoutRef<'input'>, 'size'> {
|
||||
@@ -1051,7 +1037,7 @@ export interface TextFieldProps
|
||||
description?: string;
|
||||
label?: string;
|
||||
name: string;
|
||||
size?: TextFieldOwnProps['size'];
|
||||
size?: 'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
|
||||
Reference in New Issue
Block a user