uphere
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

uphere NPM

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>

Readme

Keywords

Package Sidebar

Install

npm i uphere

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

3.95 MB

Total Files

33

Last publish

Collaborators

  • agmoss