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

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

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

import { withFieldsetHeader } from './withFieldsetHeader'
import DefaultFieldset from './DefaultFieldset'

function BlankFieldset({ render, rows, disabled }) {
    return {render(rows)}
}

BlankFieldset.propTypes = {
    rows: PropTypes.array,
    render: PropTypes.func,
    disabled: PropTypes.bool,
}

BlankFieldset.defaultProps = {
    rows: [],
    render: () => {},
    disabled: false,
}

export default withFieldsetHeader(BlankFieldset)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy