Skip to content

Commit

Permalink
Merge pull request #22 from MarcusSorealheis/enhancement/include_widt…
Browse files Browse the repository at this point in the history
…h_height

Height and Width Previously Opaque to First-Time Users
  • Loading branch information
fakiolinho authored May 6, 2017
2 parents 168e456 + cf6d5e5 commit a71e2dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ http://cezary.github.io/react-loading/
import React from 'react';
import Loading from 'react-loading';

const LoadingComponent = ({ color }) => (
<Loading type="spin" color={color} />
const LoadingComponent = ({ type, color }) => (
<Loading type={type} color={color} height='667' width='375' />
);

export default LoadingComponent;
Expand Down

0 comments on commit a71e2dc

Please sign in to comment.