From 4de0ad34526e182f46727b1a378822214847f88c Mon Sep 17 00:00:00 2001 From: Dana Woodman Date: Fri, 22 May 2015 13:39:36 -0700 Subject: [PATCH] Revert back to using lg instead of 1x for size. --- README.md | 2 +- index.js | 2 +- package.json | 2 +- test/FontAwesomeTest.js | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dd83a7c..9d91006 100644 --- a/README.md +++ b/README.md @@ -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'` | diff --git a/index.js b/index.js index d32d70f..b3329cc 100644 --- a/index.js +++ b/index.js @@ -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']), }, diff --git a/package.json b/package.json index 7699a46..3b251cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-fontawesome", - "version": "0.2.1", + "version": "0.2.3", "description": "A React FontAwesome component.", "repository": { "type": "git", diff --git a/test/FontAwesomeTest.js b/test/FontAwesomeTest.js index 32087d9..fddbba6 100644 --- a/test/FontAwesomeTest.js +++ b/test/FontAwesomeTest.js @@ -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',