aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/fullscreen_message.tsx
blob: 141fb38a4a24dde2eb6dcb815d56995f5370567a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { Styles } from '@0xproject/react-shared';
import * as React from 'react';

export interface FullscreenMessageProps {
    headerText: string;
    bodyText: string;
}

const styles: Styles = {
    thin: {
        fontWeight: 100,
    },
};

export const FullscreenMessage = (props: FullscreenMessageProps) => {
    return (
        <div className="mx-auto max-width-4 py4">
            <div className="center py4">
                <div className="py4">
                    <div className="py4">
                        <h1 style={{ ...styles.thin }}>{props.headerText}</h1>
                        <div className="py1">
                            <div className="py3">{props.bodyText}</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    );
};