How to use Chakra UI with remotion? #1903
-
Chakra UI: https://chakra-ui.com/getting-started I have tried the following code , but it will mess up the preview page.... export const Visx = () => {
const {width, height} = useVideoConfig();
return (
<ChakraProvider theme={theme}>
<ColumnChart width={width} height={height} />
</ChakraProvider>
);
}; export const RemotionRoot: React.FC = () => {
return (
<>
<Composition
id="Visx"
component={Visx}
durationInFrames={150}
fps={30}
width={1920}
height={1080}
/>
</>
);
}; |
Beta Was this translation helpful? Give feedback.
Answered by
JonnyBurger
Mar 9, 2023
Replies: 1 comment
-
Thanks for reporting this! I fix this in #1908 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
winner106
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for reporting this! I fix this in #1908