Reactive-Resume/client/wrappers/index.tsx

21 lines
521 B
TypeScript
Raw Normal View History

2022-03-02 16:44:11 +00:00
import DateWrapper from './DateWrapper';
import FontWrapper from './FontWrapper';
import HotkeysWrapper from './HotkeysWrapper';
import ThemeWrapper from './ThemeWrapper';
2022-04-30 10:58:17 +00:00
const WrapperRegistry: React.FC<React.PropsWithChildren<unknown>> = ({ children }) => {
2022-03-02 16:44:11 +00:00
return (
<ThemeWrapper>
<FontWrapper>
<HotkeysWrapper>
<DateWrapper>
<>{children}</>
2022-03-02 16:44:11 +00:00
</DateWrapper>
</HotkeysWrapper>
</FontWrapper>
</ThemeWrapper>
);
};
export default WrapperRegistry;