UNPKG

@porsche-design-system/components-react

Version:

Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.

24 lines (21 loc) 904 B
import { jsx, Fragment } from 'react/jsx-runtime'; import { Component } from 'react'; import '../../provider.mjs'; import { splitChildren } from '../../splitChildren.mjs'; import { minifyCss } from '../../minifyCss.mjs'; import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs'; import { getMultiSelectOptionCss as getComponentCss$D } from '../../../../../../components/dist/styles/esm/styles-entry.mjs'; /** * @slot {"name": "", "description": "Default slot for the option text." } */ class DSRMultiSelectOption extends Component { host; render() { splitChildren(this.props.children); const { theme = 'light', selected, highlighted } = this.props; this.props.disabled || this.props.disabledParent; minifyCss(stripFocusAndHoverStyles(getComponentCss$D(theme))); return (jsx(Fragment, {})); } } export { DSRMultiSelectOption };