Skip to content

Commit a6084fe

Browse files
committed
update: README
1 parent c9de7f2 commit a6084fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ const App = () => {
188188
| attr | String | data-theme | Attribute name for that will be appended to the body tag. Its value will be the current theme name. |
189189
| defaultTheme | String | | Default theme to load on mount. Must be in themeMap |
190190
| id | String | current-theme-style | Id of the current selected CSS. |
191-
| 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. |
191+
| 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. |
192192
| themeMap | Object | | Object with all themes available. Key is the theme name and the value is the path for the CSS file. |
193193

194194
### useThemeSwitcher

0 commit comments

Comments
 (0)