summaryrefslogtreecommitdiff
path: root/src/components/ArrowButton.tsx
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2024-03-14 19:29:29 -0400
committerSam Nystrom <sam@samnystrom.dev>2024-03-14 19:29:29 -0400
commitc63738e17df4d5bfff2049a6d1c445c609c2189e (patch)
tree5e64cdbcd49a3d6f7348cff8ad80a8eafb6dc83c /src/components/ArrowButton.tsx
parent71abdb2ee3f5bdb1e029c9f4266f4b797fa960f9 (diff)
fix: fix lots of type errors
Diffstat (limited to 'src/components/ArrowButton.tsx')
-rw-r--r--src/components/ArrowButton.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/ArrowButton.tsx b/src/components/ArrowButton.tsx
index ce0c898..a95964e 100644
--- a/src/components/ArrowButton.tsx
+++ b/src/components/ArrowButton.tsx
@@ -1,7 +1,9 @@
import Button, { ButtonProps } from './Button.tsx';
import './ArrowButton.css';
-const ArrowButton = ({ children, ...props }: ButtonProps) => {
+export type ArrowButtonProps = ButtonProps;
+
+const ArrowButton = ({ children, ...props }: ArrowButtonProps) => {
return (
<Button {...props} class={(props.class || '') + ' __ArrowButton'}>
{children}