Components: Migrate remaining files to TypeScript
Remaining JavaScript files were migrated to TypeScript. Files that didn't include JSX were renamed from `.tsx` to `.ts`.
This commit is contained in:
parent
813c06c5bd
commit
1bf459ba58
6 changed files with 0 additions and 0 deletions
|
|
@ -1,26 +0,0 @@
|
|||
import React from 'react';
|
||||
|
||||
import { Button } from '@patternfly/react-core';
|
||||
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
|
||||
|
||||
import { DOCUMENTATION_URL } from '../../constants';
|
||||
|
||||
const DocumentationButton = () => {
|
||||
const documentationURL = DOCUMENTATION_URL;
|
||||
|
||||
return (
|
||||
<Button
|
||||
component="a"
|
||||
target="_blank"
|
||||
variant="link"
|
||||
icon={<ExternalLinkAltIcon />}
|
||||
iconPosition="right"
|
||||
isInline
|
||||
href={documentationURL}
|
||||
>
|
||||
Documentation
|
||||
</Button>
|
||||
);
|
||||
};
|
||||
|
||||
export default DocumentationButton;
|
||||
Loading…
Add table
Add a link
Reference in a new issue