UNPKG

saagie-ui

Version:

Saagie UI from Saagie Design System

24 lines (19 loc) 482 B
import React from 'react'; import PropTypes from 'prop-types'; const propTypes = { children: PropTypes.node.isRequired, /** * Display in tab or as title if `isWizard` is true */ name: PropTypes.node, // eslint-disable-line react/no-unused-prop-types }; const defaultProps = { name: null, }; export const FormMultiStepsItem = ({ children }) => ( <> {children} </> ); FormMultiStepsItem.propTypes = propTypes; FormMultiStepsItem.defaultProps = defaultProps;