1
1
mirror of https://github.com/primer/css.git synced 2024-11-30 19:53:11 +03:00

Move …rest inside the Frame

This commit is contained in:
simurai 2019-03-15 21:49:43 +09:00
parent 4a399ac7f9
commit 051ef7f69d

View File

@ -34,10 +34,12 @@ export default function CodeExample(props) {
}
return (
<LiveProvider {...liveProps}>
<BorderBox {...rest}>
<BorderBox>
<BorderBox bg="white" border={0} borderBottom={1} borderRadius={0}>
<Frame>
<LivePreview />
<div {...rest}>
<LivePreview />
</div>
</Frame>
</BorderBox>
<Box is={Relative} bg="gray.1" p={3}>