[WIP] Adding DynamicProvider

This commit is contained in:
Gabriele Giambrone 2024-02-22 20:57:51 +01:00
parent 46be9fd0d6
commit 43bec76838
6 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,21 @@
import React from 'react';
import { Theme } from '../../../types/index';
type DynamicProviderProps = { theme: Theme };
export class DynamicProvider extends React.Component {
theme: Theme
constructor(props: DynamicProviderProps) {
super({ });
this.theme = props.theme;
}
render() {
return (
<div className="dynamic-root">
</div>
);
}
};

View file

@ -0,0 +1 @@
export { DynamicProvider } from './Provider';

View file

@ -1 +1,2 @@
export { DynamicProvider } from './Provider/index';
export { ThemeBuilder } from './Theme/index'; export { ThemeBuilder } from './Theme/index';

View file

@ -1,3 +1,4 @@
export { export {
DynamicProvider,
ThemeBuilder, ThemeBuilder,
} from './core/index'; } from './core/index';

View file

@ -1,4 +1,5 @@
export { export {
DynamicProvider,
ThemeBuilder, ThemeBuilder,
} from './components/index'; } from './components/index';