Skip to content

Standalone React Component - NPM package #14

Description

@hetmann

Hi @DevAlien nice project you have :) maybe you can create a standalone React component to use the dripr.io api.

  • NPM package name: react-dripr
  • Install with npm install react-dripr

and use it like:

import React from 'react';
import ReactDOM from 'react-dom';
import Dripr from 'react-dripr';

ReactDOM.render(
    <Dripr 
        apiKey="__dripr.io-apiKey__"
        placeholder="Click or Drag files here" 
        onSuccess={callback(fileObj)} />,

    document.querySelector('.app')
);

Let me know and I can help you :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions