Skip to content

Commit

Permalink
Revert back to using lg instead of 1x for size.
Browse files Browse the repository at this point in the history
  • Loading branch information
danawoodman committed May 22, 2015
1 parent 4e08b08 commit 4de0ad3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This component does not include any of the Font Awesome CSS or fonts, so you'll
| `name` | `string` | `''` | **Required:** `'check'`, `'cloud'`, `'person'`, etc... (e.g. any Font Awesome icon class name, minus the `fa-` prefix) |
| `pulse` | `boolean` | `false` | |
| `rotate` | `string` | `''` | Choices: `'90'`, `'180'` or `'270'` |
| `size` | `string` | `''` | Choices: `'1x'`, `'2x'`, `'3x'`, `'4x'` or `'5x'` |
| `size` | `string` | `''` | Choices: `'lg'`, `'2x'`, `'3x'`, `'4x'` or `'5x'` |
| `spin` | `boolean` | `false` | |
| `stack` | `string` | `''` | Choices: `'1x'` or `'2x'` |

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = React.createClass({
name: React.PropTypes.string.isRequired,
pulse: React.PropTypes.bool,
rotate: React.PropTypes.oneOf(['90', '180', '270']),
size: React.PropTypes.oneOf(['1x', '2x', '3x', '4x', '5x']),
size: React.PropTypes.oneOf(['lg', '2x', '3x', '4x', '5x']),
spin: React.PropTypes.bool,
stack: React.PropTypes.oneOf(['1x', '2x']),
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-fontawesome",
"version": "0.2.1",
"version": "0.2.3",
"description": "A React FontAwesome component.",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions test/FontAwesomeTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ describe('FontAwesome', function () {
it('the proper class names get set', function () {
var expectedClasses = [
'fa',
'fa-lg',
'fa-rocket',
'fa-spin',
'fa-pulse',
Expand Down

0 comments on commit 4de0ad3

Please sign in to comment.