UNPKG

@patternfly/react-core

Version:

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

14 lines 814 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MastheadToggle = void 0; const tslib_1 = require("tslib"); const jsx_runtime_1 = require("react/jsx-runtime"); const masthead_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Masthead/masthead")); const react_styles_1 = require("@patternfly/react-styles"); const MastheadToggle = (_a) => { var { children, className } = _a, props = tslib_1.__rest(_a, ["children", "className"]); return ((0, jsx_runtime_1.jsx)("span", Object.assign({ className: (0, react_styles_1.css)(masthead_1.default.mastheadToggle, className) }, props, { children: children }))); }; exports.MastheadToggle = MastheadToggle; exports.MastheadToggle.displayName = 'MastheadToggle'; //# sourceMappingURL=MastheadToggle.js.map