diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-25 04:44:00 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-25 04:44:00 +0800 |
commit | 379f7c788385cfc15fea8d0bb0a2a39f0c709b8d (patch) | |
tree | d297644647fd2ee025c748d46bc3175fb81192ad /packages/instant/src/components/ui/container.tsx | |
parent | c7a063ca47c3a5b62fe070ba10055b575c1707de (diff) | |
download | dexon-0x-contracts-379f7c788385cfc15fea8d0bb0a2a39f0c709b8d.tar dexon-0x-contracts-379f7c788385cfc15fea8d0bb0a2a39f0c709b8d.tar.gz dexon-0x-contracts-379f7c788385cfc15fea8d0bb0a2a39f0c709b8d.tar.bz2 dexon-0x-contracts-379f7c788385cfc15fea8d0bb0a2a39f0c709b8d.tar.lz dexon-0x-contracts-379f7c788385cfc15fea8d0bb0a2a39f0c709b8d.tar.xz dexon-0x-contracts-379f7c788385cfc15fea8d0bb0a2a39f0c709b8d.tar.zst dexon-0x-contracts-379f7c788385cfc15fea8d0bb0a2a39f0c709b8d.zip |
chore: use alternate syntax for styled
Diffstat (limited to 'packages/instant/src/components/ui/container.tsx')
-rw-r--r-- | packages/instant/src/components/ui/container.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/instant/src/components/ui/container.tsx b/packages/instant/src/components/ui/container.tsx index 7077d0aa3..76b570de7 100644 --- a/packages/instant/src/components/ui/container.tsx +++ b/packages/instant/src/components/ui/container.tsx @@ -30,7 +30,10 @@ export interface ContainerProps { opacity?: number; } -export const Container = styled<ContainerProps, 'div'>('div')` +export const Container = + styled.div < + ContainerProps > + ` box-sizing: border-box; ${props => cssRuleIfExists(props, 'display')} ${props => cssRuleIfExists(props, 'position')} |