Skip to content

Commit c0ee21a

Browse files
author
jfusco
committed
Changing name of package on NPM and updating docs
1 parent f3306d1 commit c0ee21a

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# react-tags
2-
1+
# react-tagging-input
32
![npm][npm-version-image]
43
[![peerDependency Status][peer-dep-image]][peer-dep-url]
54
[![devDependency Status][dev-dep-image]][dev-dep-url]
@@ -11,15 +10,15 @@
1110
#### Installation
1211
From the root of your project.
1312
```sh
14-
npm install react-tags --save
13+
npm install react-tagging-input --save
1514
```
1615

1716
## Usage
1817
Simple implementation of tags. See [options available](#options) below.
1918
```js
2019
import React, { Component } from 'react';
2120
import { render } from 'react-dom';
22-
import Tags from 'react-tags';
21+
import Tags from 'react-tagging-input';
2322

2423
class Application extends Component{
2524
constructor(props){
@@ -155,7 +154,7 @@ The `string` to be used for the ID of the component
155154
#### Installation
156155
Import the main SCSS file in to your application SCSS files
157156
```scss
158-
@import "node_modules/react-tags/src/scss/react-tags";
157+
@import "node_modules/react-tagging-input/src/scss/react-tags";
159158
```
160159

161160
There are a few variables set to `!default` that can be overriden. If you need to change it more just override the actual styles.
@@ -185,7 +184,7 @@ $tag-input-placeholder-color
185184

186185
If you don't care to override variables and just want to override actual styles you may choose to import the minified compiled version of the css instead
187186
```scss
188-
@import "node_modules/react-tags/dist/react-tags.min.css";
187+
@import "node_modules/react-tagging-input/dist/react-tags.min.css";
189188
```
190189

191190
## License ##

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-tags",
2+
"name": "react-tagging-input",
33
"version": "1.0.1",
44
"description": "Simple tagging component",
55
"main": "dist-components/Tags.js",

0 commit comments

Comments
 (0)