uphere
v0.1.0
Published
> Upload files to azure
Downloads
1
Readme
uphere
Upload files to azure
API
interface IUpHere{
account:string;
accountSas:string;
containerName:string;
}
Component API
export interface IUpHereComponent {
accountName: string;
accountSas: string;
containerName: string;
multiple:boolean;
onSuccess<T>(t: T): void;
onError<E>(e: E): void;
}
Button
const UpHereButton: (p: IUpHereComponent) => <D extends React.ElementType<any> = "button", P = {}>(props: OverrideProps<ButtonTypeMap<P, D>, D>) => JSX.Element
HOC
const withUpHere: (p: IUpHereComponent) => <T extends object>(WrappedComponent: React.ComponentType<T>) => React.FC<T>