+
diff --git a/ui/utilities/margin/docs/Margin.jsx b/ui/utilities/margin/docs/Margin.jsx
index 55d2094a5c..fe12fd242a 100644
--- a/ui/utilities/margin/docs/Margin.jsx
+++ b/ui/utilities/margin/docs/Margin.jsx
@@ -2,42 +2,18 @@
// Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license
import React, { Component } from 'react';
-import ReactDOM from 'react-dom/server';
-import style from './Margin.scss';
+import './Margin.scss';
import classNames from 'classnames';
import CodeBlock from '../../../../shared/components/CodeBlock';
-const Redline = props => (
-
-
-
-);
-
class Margin extends Component {
render() {
- let margin;
let { size, position } = this.props;
- const sizes = {
- 'xxx-small': '0.125rem',
- 'xx-small': '0.25rem',
- 'x-small': '0.5rem',
- small: '0.75rem',
- medium: '1rem',
- large: '1.5rem',
- 'x-large': '2rem',
- 'xx-large': '3rem'
- };
- let widths = JSON.stringify(sizes);
- JSON.parse(widths, (key, value) => {
- if (key === size) {
- margin = value;
- }
- });
let spacingClass = `slds-m-${position}_${size}`;
return (