Debian Codegraph @

node/@patternfly/react-core/src/components/Button/examples/ButtonCustomComponent.tsx

raw
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 );