Skip to content

Commit

Permalink
FormFileUpload: Document __next40pxDefaultSize prop
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Aug 16, 2024
1 parent c459a7b commit 794c07f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/components/src/form-file-upload/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ import type Icon from '../icon';

// TODO: Replace `children` and `icon` types with props from Button once Button is typed.
export type FormFileUploadProps = {
/**
* Start opting into the larger default height that will become the default size in a future version.
*
* @default false
*/
__next40pxDefaultSize?: boolean;
/**
* A string passed to `input` element that tells the browser which file types can be
* upload to the upload by the user use. e.g: `image/*,video/*`.
Expand Down

0 comments on commit 794c07f

Please sign in to comment.