From 9ebffca91114784fc6b6f01d8b32c42424ef7159 Mon Sep 17 00:00:00 2001 From: Matt Krick Date: Mon, 25 Apr 2016 09:24:01 -0500 Subject: [PATCH] Update StyleContainer.md --- packages/react-look/docs/api/StyleContainer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-look/docs/api/StyleContainer.md b/packages/react-look/docs/api/StyleContainer.md index 38e1ffc..7864ce2 100644 --- a/packages/react-look/docs/api/StyleContainer.md +++ b/packages/react-look/docs/api/StyleContainer.md @@ -34,8 +34,8 @@ Adds a static `font`-face string to the **fonts**. ### `renderStaticStyles(prefixer)` Renders the whole mappings into a single static CSS string. It optionally takes a `prefixer` (which must inherit [Prefixer](./Prefixer.md)) used to prefix the styles and the `@keyrames` prefix. ### `generateClassName(styles)` -Sorts your `styles`, stringifies them and generates a hash code which is returned as a `className`. This prevents dublication. +Sorts your `styles`, stringifies them, and generates a hash code which is returned as a `className`. This prevents duplicates. ### `requestClassName([prefix])` -Returns an unused `className` which is build of a `prefix` *(default is `c`)* and an intern counter that gets incremented every call. +Returns an unused `className` which is comprised of a `prefix` *(default is `c`)* and an internal incrementing counter. ### `subscribe(listener)` You can subscribe to style changes by passing a `listener` which then will be called.