UNPKG

primereact

Version:

PrimeReact is an open source UI library for React featuring a rich set of 90+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with Prime

35 lines (31 loc) 968 B
'use client'; import * as React from 'react'; import { PrimeReactContext } from 'primereact/api'; import { ComponentBase, useHandleStyle } from 'primereact/componentbase'; var styles = ''; var StepperPanelBase = ComponentBase.extend({ defaultProps: { __TYPE: 'StepperPanel', children: undefined, header: null }, css: { styles: styles } }); var StepperPanel = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) { var context = React.useContext(PrimeReactContext); var props = StepperPanelBase.getProps(inProps, context); var _StepperPanelBase$set = StepperPanelBase.setMetaData({ props: props }), isUnstyled = _StepperPanelBase$set.isUnstyled; useHandleStyle(StepperPanelBase.css.styles, isUnstyled, { name: 'StepperPanel' }); return /*#__PURE__*/React.createElement("span", { ref: ref }, props.children); })); StepperPanel.displayName = 'StepperPanel'; export { StepperPanel };