Skip to content

Commit

Permalink
update: README
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseRFelix committed Dec 28, 2020
1 parent c9de7f2 commit a6084fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ const App = () => {
| attr | String | data-theme | Attribute name for that will be appended to the body tag. Its value will be the current theme name. |
| defaultTheme | String | | Default theme to load on mount. Must be in themeMap |
| id | String | current-theme-style | Id of the current selected CSS. |
| insertionPoint | String | | Comment string where pre-fetch styles and current themes will be injected. The library will look for the comment string inside head element. If missing will append styles at the end of the head. This is useful for CSS override. |
| insertionPoint | String or HTMLElement | | Comment string or element where pre-fetch styles and current themes will be injected. The library will look for the comment string inside head element. If missing will append styles at the end of the head. This is useful for CSS override. |
| themeMap | Object | | Object with all themes available. Key is the theme name and the value is the path for the CSS file. |

### useThemeSwitcher
Expand Down

0 comments on commit a6084fe

Please sign in to comment.