aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-16 04:41:36 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-18 05:44:39 +0800
commitdfc5d7d860c2edb93fe45653f755fe8ff530bf1d (patch)
treeda5321346f00f78d920ec02f711aeaa9a0fe8423 /packages/instant
parent1d079490871ebb0d63bf182a75695303a3a9f1f2 (diff)
downloaddexon-sol-tools-dfc5d7d860c2edb93fe45653f755fe8ff530bf1d.tar.gz
dexon-sol-tools-dfc5d7d860c2edb93fe45653f755fe8ff530bf1d.tar.zst
dexon-sol-tools-dfc5d7d860c2edb93fe45653f755fe8ff530bf1d.zip
get rid of unused marginLeft and marginRight props
Diffstat (limited to 'packages/instant')
-rw-r--r--packages/instant/src/components/ui/text.tsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/instant/src/components/ui/text.tsx b/packages/instant/src/components/ui/text.tsx
index af8e4d933..9fb8ea26f 100644
--- a/packages/instant/src/components/ui/text.tsx
+++ b/packages/instant/src/components/ui/text.tsx
@@ -21,8 +21,6 @@ export interface TextProps {
hoverColor?: string;
noWrap?: boolean;
display?: string;
- marginRight?: string;
- marginLeft?: string;
}
const PlainText: React.StatelessComponent<TextProps> = ({ children, className, onClick }) => (
@@ -49,8 +47,6 @@ export const Text = styled(PlainText)`
${props => (props.display ? `display: ${props.display}` : '')};
${props => (props.letterSpacing ? `letter-spacing: ${props.letterSpacing}` : '')};
${props => (props.textTransform ? `text-transform: ${props.textTransform}` : '')};
- ${props => (props.marginRight ? `margin-right: ${props.marginRight}` : '')};
- ${props => (props.marginLeft ? `margin-right: ${props.marginLeft}` : '')};
&:hover {
${props =>
props.onClick