@cerberus-design/react
Version:
The Cerberus Design React component library.
26 lines (24 loc) • 551 B
JavaScript
import {
createCerberusPrimitive
} from "./chunk-YJRAJNYI.js";
// src/components/avatar/primitives.tsx
import {
Avatar
} from "@ark-ui/react/avatar";
import { avatar } from "styled-system/recipes";
var { withSlotRecipe } = createCerberusPrimitive(avatar);
var AvatarRoot = withSlotRecipe(Avatar.Root, "root");
var AvatarImage = withSlotRecipe(
Avatar.Image,
"image"
);
var AvatarFallback = withSlotRecipe(
Avatar.Fallback,
"fallback"
);
export {
AvatarRoot,
AvatarImage,
AvatarFallback
};
//# sourceMappingURL=chunk-RT4W6GBB.js.map