import * as React from 'react'
import { SpacerProps } from '../interfaces'

export class Spacer extends React.Component<SpacerProps, {}> {
    public static defaultProps = {
        width: 5,
        widthType: '%',
    }

    public render() {
        return (
            <div className="height-100"
                style={{ width: `${this.props.width}${this.props.widthType}` }} />
        )
    }
}
