UNPKG

@coinmeca/ui

Version:

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

19 lines 825 B
"use client"; import { Contents, Layouts } from "../../../components"; export default function Process(props) { return (<Layouts.Contents.PartContainer {...props} state={props?.process} content={!props?.loading ? (props?.content) : (<Layouts.Contents.SlideContainer contents={[ { active: !props?.loading?.active, children: props?.content, }, { active: props?.loading?.active, children: <Contents.States.Loading {...props?.loading}/>, }, ]}/>)} left={{ children: <Contents.States.Failure {...props?.failure}/>, }} right={{ children: <Contents.States.Success {...props?.success}/>, }}/>); } //# sourceMappingURL=Process.jsx.map