diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2018-06-30 08:40:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-30 08:40:43 +0800 |
commit | 42b7b0dab907f1ce2caf6a2ea415a247ba31245f (patch) | |
tree | f59b3d961a338442816e25e24c0c49ead6eab45a /packages/website/ts/components/ui/overlay.tsx | |
parent | 78b513c52addc16062419236c24f01bcfe191f3f (diff) | |
parent | 8ffce78827bc64f222128dfdd0dc4a45db402f3a (diff) | |
download | dexon-0x-contracts-42b7b0dab907f1ce2caf6a2ea415a247ba31245f.tar.gz dexon-0x-contracts-42b7b0dab907f1ce2caf6a2ea415a247ba31245f.tar.zst dexon-0x-contracts-42b7b0dab907f1ce2caf6a2ea415a247ba31245f.zip |
Merge pull request #787 from 0xProject/feature/website/portal-onboarding-polish
Portal v2 onboarding polish
Diffstat (limited to 'packages/website/ts/components/ui/overlay.tsx')
-rw-r--r-- | packages/website/ts/components/ui/overlay.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/website/ts/components/ui/overlay.tsx b/packages/website/ts/components/ui/overlay.tsx index 8b126a6d5..da26317de 100644 --- a/packages/website/ts/components/ui/overlay.tsx +++ b/packages/website/ts/components/ui/overlay.tsx @@ -4,7 +4,6 @@ import * as React from 'react'; import { zIndex } from 'ts/style/z_index'; export interface OverlayProps { - children?: React.ReactNode; style?: React.CSSProperties; onClick?: () => void; } @@ -19,7 +18,7 @@ const style: React.CSSProperties = { backgroundColor: 'rgba(0, 0, 0, 0.6)', }; -export const Overlay: React.StatelessComponent = (props: OverlayProps) => ( +export const Overlay: React.StatelessComponent<OverlayProps> = props => ( <div style={{ ...style, ...props.style }} onClick={props.onClick}> {props.children} </div> |