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-16 04:41:36 +0800
commit7325e1669897cb9bbacaf28319b470e45ec0d4e7 (patch)
tree153c8bad306fa387e14efdc126e16c31e2604bcf /packages/instant
parent14b47f3a9f18e8c348166036ea9decdd78c8699e (diff)
downloaddexon-sol-tools-7325e1669897cb9bbacaf28319b470e45ec0d4e7.tar
dexon-sol-tools-7325e1669897cb9bbacaf28319b470e45ec0d4e7.tar.gz
dexon-sol-tools-7325e1669897cb9bbacaf28319b470e45ec0d4e7.tar.bz2
dexon-sol-tools-7325e1669897cb9bbacaf28319b470e45ec0d4e7.tar.lz
dexon-sol-tools-7325e1669897cb9bbacaf28319b470e45ec0d4e7.tar.xz
dexon-sol-tools-7325e1669897cb9bbacaf28319b470e45ec0d4e7.tar.zst
dexon-sol-tools-7325e1669897cb9bbacaf28319b470e45ec0d4e7.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