mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Docs: Add props documentation to FileUpload component (#27393)
This commit is contained in:
parent
a9daaadd50
commit
8e063ea82c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user