UNPKG

@ozen-ui/kit

Version:

React component library

16 lines (15 loc) 844 B
import { __assign, __rest } from "tslib"; import React, { forwardRef } from 'react'; import { useThemeProps } from '../../../../hooks/useThemeProps'; import { cn } from '../../../../utils/classname'; import { ListCardItemInfoCarcass } from '../../components'; export var cnListCardItemCenterInfo = cn('ListCardItemCenterInfo'); export var ListCardItemCenterInfo = forwardRef(function (inProps, ref) { var props = useThemeProps({ props: inProps, name: 'ListCardItemCenterInfo', }); var children = props.children, className = props.className, other = __rest(props, ["children", "className"]); return (React.createElement(ListCardItemInfoCarcass, __assign({}, other, { ref: ref, className: cnListCardItemCenterInfo('', [className]) }), children)); }); ListCardItemCenterInfo.displayName = 'ListCardItemCenterInfo';