From 4d865bcd34f634db340c5b0b819c740c122705e8 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Wed, 10 Jun 2015 16:14:45 -0700 Subject: [PATCH] Fix example code --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c248f94f..62bc9e82 100644 --- a/README.md +++ b/README.md @@ -273,7 +273,7 @@ class Avatar extends React.Component { return ( @@ -327,9 +327,9 @@ class PrettyText extends React.Component { ...other style={{ ...style, - ...localStyle[color], - ...localStyle[size], - ...localStyle[weight] + ...localStyle.color[color], + ...localStyle.size[size], + ...localStyle.weight[weight] }} /> );