@it-corp/vpbank-spotlight
Version:
Command center components for react and VPbank components
29 lines (26 loc) • 813 B
JavaScript
'use client';
import React from 'react';
import { factory, useProps, Box } from '@it-corp/vpbank-core';
import { useSpotlightContext } from './Spotlight.context.mjs';
import classes from './Spotlight.module.css.mjs';
const defaultProps = {};
const SpotlightEmpty = factory((props, ref) => {
const { className, style, classNames, styles, ...others } = useProps(
"SpotlightEmpty",
defaultProps,
props
);
const ctx = useSpotlightContext();
return /* @__PURE__ */ React.createElement(
Box,
{
ref,
...ctx.getStyles("empty", { classNames, styles, className, style }),
...others
}
);
});
SpotlightEmpty.classes = classes;
SpotlightEmpty.displayName = "@it-corp/vpbank-spotlight/SpotlightEmpty";
export { SpotlightEmpty };
//# sourceMappingURL=SpotlightEmpty.mjs.map