Skip to content

Commit

Permalink
docs(README): Development
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz committed Jan 28, 2019
1 parent de64b3d commit 98c56ee
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ The default is random unique id. Use the same value of prop key, that will solve
##### Facebook Style

```jsx
// import the component
import { Facebook } from 'react-content-loader'

const MyFacebookLoader = () => <Facebook />
Expand All @@ -139,7 +138,6 @@ const MyFacebookLoader = () => <Facebook />
##### Instagram Style

```jsx
// import the component
import { Instagram } from 'react-content-loader'

const MyInstagramLoader = () => <Instagram />
Expand All @@ -150,7 +148,6 @@ const MyInstagramLoader = () => <Instagram />
##### Code Style

```jsx
// import the component
import { Code } from 'react-content-loader'

const MyCodeLoader = () => <Code />
Expand All @@ -161,7 +158,6 @@ const MyCodeLoader = () => <Code />
##### List Style

```jsx
// import the component
import { List } from 'react-content-loader'

const MyListLoader = () => <List />
Expand All @@ -172,7 +168,6 @@ const MyListLoader = () => <List />
##### Bullet list Style

```jsx
// import the component
import { BulletList } from 'react-content-loader'

const MyBulletListLoader = () => <BulletList />
Expand All @@ -193,7 +188,7 @@ const MyLoader = () => (
primaryColor={'#333'}
secondaryColor={'#999'}
>
{/* Pure SVG */}
{/* Only SVG shapes */}
<rect x="0" y="0" rx="5" ry="5" width="70" height="70" />
<rect x="80" y="17" rx="4" ry="4" width="300" height="13" />
<rect x="80" y="40" rx="3" ry="3" width="250" height="10" />
Expand All @@ -217,14 +212,13 @@ const MyLoader = () => (
Fork the repo then clone it

`$ git clone git@github.com:YourUsername/react-content-loader.git && cd react-content-loader`

Install the dependencies

`$ yarn`

Run the docz to see your changes

`$ yarn dev`
`$ yarn`: Install the dependencies;
`$ yarn build`: Build to production;
`$ yarn dev`: Run the docz to see your changes;
`$ yarn test`: Run all tests: type checking and unit tests;
`$ yarn test:watch`: Watch unit tests;
`$ yarn tsc`: Typescript checking;
`$ yarn tsc:watch`: Typescript checking with watching;

## License

Expand Down

0 comments on commit 98c56ee

Please sign in to comment.