mirror of
https://github.com/dzeiocom/components.git
synced 2025-08-14 23:21:59 +00:00
@@ -11,6 +11,9 @@ interface Props {
|
||||
|
||||
export default class Container extends React.Component<Props> {
|
||||
|
||||
public render = () => React.createElement(this.props.mainContainer ? 'main' : 'div', {className: buildClassName(css.container, this.props.className, [css.main, this.props.mainContainer]), children: this.props.children})
|
||||
public render = () => React.createElement(this.props.mainContainer ? 'main' : 'div', {
|
||||
className: buildClassName(css.container, this.props.className, [css.main, this.props.mainContainer]),
|
||||
children: this.props.children
|
||||
})
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user