Direktori : /home/brasafestival/www/old/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/ |
Current File : /home/brasafestival/www/old/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/compact.jsx |
import classNames from 'classnames'; /*eslint lodash/import-scope: [2, "method"]*/ import Toggle from 'components/form-toggle'; import omit from 'lodash/omit'; import React from 'react'; export default class CompactFormToggle extends React.Component { static displayName = 'CompactFormToggle'; render() { return ( <Toggle { ...omit( this.props, 'className' ) } className={ classNames( this.props.className, 'is-compact' ) } > { this.props.children } </Toggle> ); } }