UNPKG

@dynamic-labs/sdk-react-core

Version:

A React SDK for implementing wallet web3 authentication and authorization to your website.

12 lines (9 loc) 472 B
'use client' import { jsx, jsxs, Fragment } from 'react/jsx-runtime'; import { Children } from 'react'; import { Divider } from '../Divider/Divider.js'; const Stepper = ({ children }) => (jsx("div", { className: 'stepper', children: Children.map(children, (step, index) => { const divider = index === 0 ? undefined : jsx(Divider, { className: 'stepper__divider' }); return (jsxs(Fragment, { children: [divider, step] })); }) })); export { Stepper };