aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/components/source_link.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/react-docs/src/components/source_link.tsx')
-rw-r--r--packages/react-docs/src/components/source_link.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/react-docs/src/components/source_link.tsx b/packages/react-docs/src/components/source_link.tsx
index 89956a507..58a9ba6a7 100644
--- a/packages/react-docs/src/components/source_link.tsx
+++ b/packages/react-docs/src/components/source_link.tsx
@@ -10,7 +10,7 @@ export interface SourceLinkProps {
version: string;
}
-export function SourceLink(props: SourceLinkProps) {
+export const SourceLink = (props: SourceLinkProps) => {
const src = props.source;
const sourceCodeUrl = `${props.sourceUrl}/${src.fileName}#L${src.line}`;
return (
@@ -20,4 +20,4 @@ export function SourceLink(props: SourceLinkProps) {
</a>
</div>
);
-}
+};