diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-06-28 05:17:58 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-06-29 02:50:08 +0800 |
commit | 7ee37fb62af7014f8a2aae435458302887781be0 (patch) | |
tree | f21d4127954cd3b8ead16cb8233ab81e51976dcf /packages/website/ts/components/ui | |
parent | 2970e103db963b1ef37924c2724c5b1ca10e14fb (diff) | |
download | dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.tar dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.tar.gz dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.tar.bz2 dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.tar.lz dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.tar.xz dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.tar.zst dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.zip |
Implement new locked and uninstalled states
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r-- | packages/website/ts/components/ui/container.tsx | 1 | ||||
-rw-r--r-- | packages/website/ts/components/ui/text.tsx | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/packages/website/ts/components/ui/container.tsx b/packages/website/ts/components/ui/container.tsx index 2abcc00f6..fb718d731 100644 --- a/packages/website/ts/components/ui/container.tsx +++ b/packages/website/ts/components/ui/container.tsx @@ -14,6 +14,7 @@ export interface ContainerProps { backgroundColor?: string; borderRadius?: StringOrNum; maxWidth?: StringOrNum; + maxHeight?: StringOrNum; width?: StringOrNum; height?: StringOrNum; minHeight?: StringOrNum; diff --git a/packages/website/ts/components/ui/text.tsx b/packages/website/ts/components/ui/text.tsx index 1e2a123b7..88f216d4e 100644 --- a/packages/website/ts/components/ui/text.tsx +++ b/packages/website/ts/components/ui/text.tsx @@ -15,6 +15,7 @@ export interface TextProps { minHeight?: string; center?: boolean; fontWeight?: number | string; + textDecorationLine?: string; onClick?: () => void; } @@ -28,6 +29,7 @@ export const Text = styled(PlainText)` font-family: ${props => props.fontFamily}; font-weight: ${props => props.fontWeight}; font-size: ${props => props.fontSize}; + text-decoration-line: ${props => props.textDecorationLine}; ${props => (props.lineHeight ? `line-height: ${props.lineHeight}` : '')}; ${props => (props.center ? 'text-align: center' : '')}; color: ${props => props.fontColor}; @@ -45,6 +47,7 @@ Text.defaultProps = { fontColor: colors.black, fontSize: '15px', lineHeight: '1.5em', + textDecorationLine: 'none', Tag: 'div', }; |