import PropTypes from 'prop-types'; import { clsm } from '../../../utils'; import { SETTINGS_ORIENTATION, useSettingsOrientation } from '../Settings'; import InputLabel from '../../../components/Input/InputLabel'; const SettingContainer = ({ label, children }) => { const settingsFormOrientation = useSettingsOrientation(); return (
{label && }
{children}
); }; SettingContainer.propTypes = { children: PropTypes.node.isRequired, label: PropTypes.string }; SettingContainer.defaultProps = { label: '' }; export default SettingContainer;