UNPKG

@i-novus/ui-core

Version:

Базовые UI компоненты

10 lines (9 loc) 476 B
import { jsx as _jsx } from "react/jsx-runtime"; import classNames from 'classnames'; import { useConfigProvider } from '../../core'; export const Content = ({ prefix, className, children, ...rest }) => { const { getPrefix } = useConfigProvider(); const prefixCls = getPrefix(prefix); return (_jsx("div", { id: "popover", className: classNames(`${prefixCls}-popover-content`, className), ...rest, children: children })); }; Content.displayName = 'PopoverContent';