From f598c513129e0239cb7ff7269c8400e2e2b64b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Here=C3=B1=C3=BA?= Date: Sun, 6 Sep 2020 20:01:03 -0300 Subject: [PATCH] Minor fixes on lines 71, 74, 94 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0091ecd..98c1c3b 100644 --- a/README.md +++ b/README.md @@ -68,10 +68,10 @@ export default withThemes({ light, dark }, light)(ThemableComponent) #### `ThemeTypes` -`ThemeTypes` are used to define theme's property types. It's simillar to React `PropTypes`, there are 2 avaiable types: +`ThemeTypes` are used to define theme's property types. It's simillar to React `PropTypes`, there are 2 available types: - `ThemeTypes.className`: Defines a property as a className -- `ThemeTypes.themeOf(ThemableComponent)`: Define a property as a theme of another themeable compoenent +- `ThemeTypes.themeOf(ThemableComponent)`: Define a property as a theme of another themeable component ##### Example: @@ -91,7 +91,7 @@ MyComponent.themeTypes = { ### `Component.themes` -The compoenent will expose a `themes` object property with the themes defined as keys. These themes are set by the compoenent but also expose an API to create derivated themes. +The component will expose a `themes` object property with the themes defined as keys. These themes are set by the component but also expose an API to create derivated themes. #### `add(fragment)`