☰
Debian Codegraph
@
368-1
367-1
/
/
node
/
@patternfly
/
react-core
/
src
/
components
/
Button
/
examples
/
ButtonCustomComponent.tsx
☽
☼
node/@patternfly/react-core/src/components/Button/examples/ButtonCustomComponent.tsx
code
plain
raw
MIT
2018 React Popper authors; 2019 Federico Zivolo; 2019 Red Hat, Inc.; Red Hat
debian/copyright
1
import { Button } from '@patternfly/react-core';
2
3
export const ButtonCustomComponent: React.FunctionComponent = () => (
4
<Button variant="link" component={(props: any) => <a {...props} href="#" />}>
5
Router link
6
</Button>
7
);