@kwantis-id3/frontend-library 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -4926,11 +4926,11 @@ const defaultThemeColors = {
4926
4926
  statusNeutral: "#CCCCCC",
4927
4927
  };
4928
4928
  const KwantisThemeContext = React.createContext(defaultThemeColors);
4929
- function KwantisThemeContextProvider(props) {
4930
- const [themeColors] = React.useState(props.theme || defaultThemeColors);
4929
+ const KwantisThemeContextProvider = (props) => {
4930
+ const [themeColors] = reactExports.useState(props.theme || defaultThemeColors);
4931
4931
  return (React.createElement(KwantisThemeContext.Provider, { value: themeColors },
4932
4932
  React.createElement(ThemeProvider, { theme: themeColors }, props.children)));
4933
- }
4933
+ };
4934
4934
  const isEmpty = (obj) => {
4935
4935
  return Object.keys(obj).length === 0;
4936
4936
  };