import * as React from 'react'; import IReactComponentProps from '../../../common/structures/IReactComponentProps'; import styles from './ClippedContent.sass'; import classnames from 'classnames'; interface IProps extends IReactComponentProps { alignX?: 'none' | 'center'; alignY?: 'none' | 'center'; height?: string | 'fit-content'; shape?: 'circle' | 'rect-rounded'; tag?: string; width?: string | 'fit-content'; useFullHeight?: boolean; useFullWidth?: boolean; } export default class ClippedContent extends React.Component { static defaultProps: Partial = { alignX: 'none', alignY: 'none', shape: 'rect-rounded', tag: 'div', useFullHeight: true, useFullWidth: true, }; render () { const ContainerTag: any = this.props.tag; return ( {this.props.children} ); } }