aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/ui.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/ui.tsx b/components/ui.tsx
index 5717928..e2d7f41 100644
--- a/components/ui.tsx
+++ b/components/ui.tsx
@@ -75,8 +75,9 @@ export function IconLabelButton(props: {
icon: ReactNode;
onclick?: () => void;
style?: CSSProperties;
+ href?: string;
}) {
- return <Button onclick={props.onclick} style={{
+ return <Button onclick={props.onclick} href={props.href} style={{
display: "inline-block",
verticalAlign: "top",
padding: 8,