aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/instant/configurator.tsx
blob: 2314f968fe73f199c5d5db16885d2eb6ae1423fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import * as React from 'react';

import { Container } from 'ts/components/ui/container';
import { CodeDemo } from 'ts/pages/instant/code_demo';
import { colors } from 'ts/style/colors';

export interface ConfiguratorProps {
    hash: string;
}

export const Configurator = (props: ConfiguratorProps) => (
    <Container id={props.hash} height="400px" backgroundColor={colors.instantTertiaryBackground}>
        <Container width="50%">
            <CodeDemo />
        </Container>
    </Container>
);