aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui/container.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-20 01:19:38 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-20 01:19:38 +0800
commit7454e16aae476b3908123dadab0cf9fdf6ab5990 (patch)
tree3477ace66bc71c2aa4e09b85dd1923087effac1b /packages/website/ts/components/ui/container.tsx
parent2cc7289b7b3c3177230957ff2384c58bed4266f3 (diff)
parente4acad60e91943c2dcbdd55b7766b543e78df6f6 (diff)
downloaddexon-0x-contracts-7454e16aae476b3908123dadab0cf9fdf6ab5990.tar.gz
dexon-0x-contracts-7454e16aae476b3908123dadab0cf9fdf6ab5990.tar.zst
dexon-0x-contracts-7454e16aae476b3908123dadab0cf9fdf6ab5990.zip
Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into feature/website/portal-v2-analytics
Diffstat (limited to 'packages/website/ts/components/ui/container.tsx')
-rw-r--r--packages/website/ts/components/ui/container.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/website/ts/components/ui/container.tsx b/packages/website/ts/components/ui/container.tsx
index c6a78e181..1776345da 100644
--- a/packages/website/ts/components/ui/container.tsx
+++ b/packages/website/ts/components/ui/container.tsx
@@ -14,8 +14,15 @@ export interface ContainerProps {
backgroundColor?: string;
borderRadius?: StringOrNum;
maxWidth?: StringOrNum;
+ width?: StringOrNum;
isHidden?: boolean;
className?: string;
+ position?: 'absolute' | 'fixed' | 'relative' | 'unset';
+ display?: 'inline-block' | 'block' | 'inline-flex' | 'inline';
+ top?: string;
+ left?: string;
+ right?: string;
+ bottom?: string;
}
export const Container: React.StatelessComponent<ContainerProps> = ({ children, className, isHidden, ...style }) => {