UNPKG

mod-arch-shared

Version:

Shared UI components and utilities for modular architecture micro-frontend projects

8 lines 641 B
import * as React from 'react'; import { Button } from '@patternfly/react-core'; import { OutlinedQuestionCircleIcon } from '@patternfly/react-icons'; const KubeflowDocs = ({ buttonLabel = 'Kubeflow Docs', docsLink = 'https://www.kubeflow.org/docs/components/model-registry/installation/#installing-model-registry', isInline, linkTestId, }) => (React.createElement(Button, { isInline: isInline, variant: "link", icon: React.createElement(OutlinedQuestionCircleIcon, null), "data-testid": linkTestId, onClick: () => { window.open(docsLink); } }, buttonLabel)); export default KubeflowDocs; //# sourceMappingURL=KubeflowDocs.js.map