Skip to content

Click-To-Copy NPM Install Links #6

Description

@brigand

You could add a copy button for the npm command using react-zeroclipboard. Not sure exactly what it should say.

var ReactZero = require('react-zeroclipboard');
// ...
var command = "npm install --save " + packageName;
<ReactZero text={command}>
  <button>copy "{command}"</button>
</ReactZero>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions