UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

34 lines 884 B
import React from 'react'; import clsx from 'clsx'; import { applySpacing } from "../space/SpacingUtils.js"; import ContentWrapper from "./TabsContentWrapper.js"; import { jsx as _jsx } from "react/jsx-runtime"; function CustomContent(props) { const { displayName: _displayName = 'CustomContent', title: _title = null, hash: _hash = null, selected: _selected = null, disabled: _disabled = null, className = null, children = null, id, ...rest } = props; if (id) { const contentWrapperProps = rest; return _jsx(ContentWrapper, { ...contentWrapperProps, id: id, children: children }); } return _jsx("div", { ...applySpacing(rest, { className: clsx('dnb-tabs__content__inner', className) }), children: children }); } export default CustomContent; //# sourceMappingURL=TabsCustomContent.js.map