All Downloads are FREE. Search and download functionalities are using the official Maven repository.

components.widgets.Form.fieldsets.DefaultFieldset.jsx Maven / Gradle / Ivy

The newest version!
import React from 'react'
import cn from 'classnames'
import PropTypes from 'prop-types'

function DefaultFieldset({ className, disabled, children, ...rest }) {
    const classnames = cn('default-fieldset', className, { 'n2o-disabled': disabled })

    return (
        
{children}
) } DefaultFieldset.propTypes = { className: PropTypes.string, disabled: PropTypes.bool, children: PropTypes.node, } DefaultFieldset.defaultProps = { disabled: false, } export default DefaultFieldset




© 2015 - 2024 Weber Informatics LLC | Privacy Policy