@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
22 lines (18 loc) • 803 B
JavaScript
"use client";
const require_create_component = require('../../core/components/create-component.cjs');
const require_loading_style = require('./loading.style.cjs');
//#region src/components/loading/loading.tsx
const initialProps = { "data-loading": "" };
const superProps = ({ css, duration, dur = duration,...rest }) => ({
css,
dur,
...rest
});
const { PropsContext: LoadingPropsContext, usePropsContext: useLoadingPropsContext, withContext } = require_create_component.createComponent("loading", require_loading_style.loadingStyle);
//#endregion
exports.LoadingPropsContext = LoadingPropsContext;
exports.initialProps = initialProps;
exports.superProps = superProps;
exports.useLoadingPropsContext = useLoadingPropsContext;
exports.withContext = withContext;
//# sourceMappingURL=loading.cjs.map