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] }} /> );