aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/portal/text_header.tsx
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-05-17 07:47:04 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-05-18 02:02:55 +0800
commit00515eb6f96c44387575fbae6f527c3661e84f43 (patch)
tree5c4e03b011e40a51c19ba291e8898a8ced41cfd1 /packages/website/ts/components/portal/text_header.tsx
parent63e7391981fca437efba221ff4babdb9d6fdac5b (diff)
downloaddexon-0x-contracts-00515eb6f96c44387575fbae6f527c3661e84f43.tar.gz
dexon-0x-contracts-00515eb6f96c44387575fbae6f527c3661e84f43.tar.zst
dexon-0x-contracts-00515eb6f96c44387575fbae6f527c3661e84f43.zip
Refactor a bunch of layouts into their own files
Diffstat (limited to 'packages/website/ts/components/portal/text_header.tsx')
-rw-r--r--packages/website/ts/components/portal/text_header.tsx21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/website/ts/components/portal/text_header.tsx b/packages/website/ts/components/portal/text_header.tsx
new file mode 100644
index 000000000..4aabd47d0
--- /dev/null
+++ b/packages/website/ts/components/portal/text_header.tsx
@@ -0,0 +1,21 @@
+import { Styles } from '@0xproject/react-shared';
+import * as React from 'react';
+
+export interface TextHeaderProps {
+ labelText: string;
+}
+
+const styles: Styles = {
+ title: {
+ fontWeight: 'bold',
+ fontSize: 20,
+ },
+};
+
+export const TextHeader = (props: TextHeaderProps) => {
+ return (
+ <div className="py3" style={styles.title}>
+ {props.labelText}
+ </div>
+ );
+};