Files
twenty/front/tsup.ui.index.tsx
Charles Bochet e70ef58f97 Live code editor for UI docs (#2351)
* Docausaurus code live editor test

* Docusaurus sandpack test

* Fix setup

* Delete files

* Fixes

* Complete work

* Fix config

* Fix config

---------

Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-11-03 23:09:20 +01:00

17 lines
542 B
TypeScript

import { ThemeProvider as EmotionThemProvider } from '@emotion/react';
import { lightTheme, ThemeType } from './src/modules/ui/theme/constants/theme';
export const ThemeProvider = ({ children }: { children: any }) => {
return (
<EmotionThemProvider theme={lightTheme}>{children}</EmotionThemProvider>
);
};
declare module '@emotion/react' {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface Theme extends ThemeType {}
}
export * from './src/modules/ui/display/checkmark/components/Checkmark';