UNPKG

@fidely-ui/react

Version:

Fidely UI is a modern, beautifully crafted React design system powered by Ark UI and Panda CSS, delivering accessible and themeable components for building exceptional web apps

10 lines (9 loc) 393 B
'use client'; import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime"; import { Spinner } from '../spinner'; export const Loader = (props) => { const { spinner, ...rest } = props; if (spinner) return _jsx(_Fragment, { children: spinner }); return (_jsx(Spinner, { width: "1.1em", height: "1.1em", borderWidth: "1.5px", "aria-hidden": "true", ...rest })); };