Commit 8e063ea8 by Peter Holmberg Committed by GitHub

Docs: Add props documentation to FileUpload component (#27393)

parent a9daaadd
......@@ -6,10 +6,13 @@ import { stylesFactory, useTheme } from '../../themes';
import { ComponentSize } from '../../types/size';
export interface Props {
/** Callback function to handle uploaded file */
onFileUpload: (event: FormEvent<HTMLInputElement>) => void;
/** Accepted file extensions */
accept?: string;
/** Overwrite or add to style */
className?: string;
/** Button size */
size?: ComponentSize;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment