@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
16 lines (15 loc) • 497 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from "react";
import classnames from "classnames";
/**
* Content wrapper inside a Card
*/ const CardContent = /*#__PURE__*/ forwardRef(({ children, className, ...props }, ref)=>{
return /*#__PURE__*/ _jsx("div", {
...props,
className: classnames("bf-card-content", className),
ref: ref,
children: children
});
});
CardContent.displayName = "Card.Content";
export default CardContent;