UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

10 lines 680 B
import { __rest } from "tslib"; import { jsx as _jsx } from "react/jsx-runtime"; import { css } from '@patternfly/react-styles'; import styles from '@patternfly/react-styles/css/components/ActionList/action-list.mjs'; export const ActionList = (_a) => { var { children, isIconList, className, isVertical = false } = _a, props = __rest(_a, ["children", "isIconList", "className", "isVertical"]); return (_jsx("div", Object.assign({ className: css(styles.actionList, isIconList && styles.modifiers.icons, isVertical && styles.modifiers.vertical, className) }, props, { children: children }))); }; ActionList.displayName = 'ActionList'; //# sourceMappingURL=ActionList.js.map