| 1 |
import { __rest } from "tslib"; |
| 2 |
import { jsx as _jsx } from "react/jsx-runtime"; |
| 3 |
import styles from '@patternfly/react-styles/css/components/SkipToContent/skip-to-content.mjs'; |
| 4 |
import { css } from '@patternfly/react-styles'; |
| 5 |
import { Button, ButtonVariant } from '../Button'; |
| 6 |
export const SkipToContent = (_a) => { |
| 7 |
var { children = null, className = '', href } = _a, props = __rest(_a, ["children", "className", "href"]); |
| 8 |
return (_jsx("div", Object.assign({ className: css(styles.skipToContent, className) }, props, { children: _jsx(Button, { variant: ButtonVariant.primary, component: "a", href: href, children: children }) }))); |
| 9 |
}; |
| 10 |
SkipToContent.displayName = 'SkipToContent'; |
| 11 |
//# sourceMappingURL=SkipToContent.js.map |