import * as React from "react"; import { styled } from "@linaria/react"; import "react-responsive-carousel/lib/styles/carousel.min.css"; interface Props { width: number; height: number; useMoreTopPadding?: boolean; figmaDoc?: string; context?: any; } const BuilderWrapper = styled.div>` display: flex; height: 100vh; width: 100vw; position: relative; & > .content { display: block; width: ${p => p.width}px; height: ${p => p.height}px; align-self: center; position: relative; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); user-select: none; box-sizing: border-box; *, *::before, *::after { box-sizing: inherit; } } `; const SimpleWrapper = styled.div` box-sizing: border-box; *, *::before, *::after { box-sizing: inherit; } `; export class BuilderThemeWrapper extends React.PureComponent> { public render(): React.ReactNode { const { context, children, ...rest } = this.props; return ( <>
{children}
); } } export const SimpleThemeWrapper: React.FC = p => { return (
{p.children}
); };