diff --git a/packages/canon/report.api.md b/packages/canon/report.api.md index 5086c16ce0..bba5a6c46e 100644 --- a/packages/canon/report.api.md +++ b/packages/canon/report.api.md @@ -324,13 +324,32 @@ export interface InlineProps extends SpaceProps { style?: React.CSSProperties; } -// Warning: (ae-forgotten-export) The symbol "InputProps" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export const Input: React_2.ForwardRefExoticComponent< InputProps & React_2.RefAttributes >; +// @public (undocumented) +export interface InputProps + extends React.ComponentPropsWithoutRef { + // (undocumented) + description?: string; + // (undocumented) + errorForceShow?: boolean; + // (undocumented) + errorMatch?: Field.Error.Props['match']; + // (undocumented) + errorMessage?: string; + // (undocumented) + label?: string; + // (undocumented) + placeholder?: string; + // (undocumented) + required?: boolean; + // (undocumented) + size?: 'sm' | 'md'; +} + // @public (undocumented) export type JustifyContent = | 'stretch' diff --git a/packages/canon/src/components/Input/index.ts b/packages/canon/src/components/Input/index.ts index 049076e1c6..ce4e08ccc2 100644 --- a/packages/canon/src/components/Input/index.ts +++ b/packages/canon/src/components/Input/index.ts @@ -15,3 +15,4 @@ */ export { Input } from './Input'; +export type { InputProps } from './types';