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>