You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -188,7 +188,7 @@ const App = () => {
188
188
| attr | String | data-theme | Attribute name for that will be appended to the body tag. Its value will be the current theme name. |
189
189
| defaultTheme | String || Default theme to load on mount. Must be in themeMap |
190
190
| 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. |
192
192
| themeMap | Object || Object with all themes available. Key is the theme name and the value is the path for the CSS file. |
0 commit comments