export * from ~/components

This commit is contained in:
gawlk
2023-08-18 13:18:08 +02:00
committed by Paul Miller
parent 4d5c75fc84
commit 8fa30119e1
66 changed files with 320 additions and 1593 deletions

View File

@@ -4,7 +4,7 @@ interface LinkifyProps {
initialText: string;
}
export default function Linkify(props: LinkifyProps): JSX.Element {
export function Linkify(props: LinkifyProps): JSX.Element {
// By naming this "initialText" we can prove to eslint that the props won't change
const text = props.initialText;
const links: (string | JSX.Element)[] = [];