aboutsummaryrefslogtreecommitdiff
path: root/components/ui.tsx
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-10 11:37:00 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-10 11:37:00 +0100
commit2ad2c61721484b50295dd1f0ce1c4770b89f866c (patch)
treef995ce8665e7ba39e22e3656e0f47e7a9700ec01 /components/ui.tsx
parentcf6416ae99aaba26857bc63f1bbe26954d312efa (diff)
added logout button in settings
Diffstat (limited to 'components/ui.tsx')
-rw-r--r--components/ui.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/ui.tsx b/components/ui.tsx
index 8f16340..bb2a2ff 100644
--- a/components/ui.tsx
+++ b/components/ui.tsx
@@ -67,13 +67,15 @@ export function IconLabelButton(props: {
text: string;
icon: ReactNode;
onclick?: () => void;
+ style?: CSSProperties;
}) {
return <Button onclick={props.onclick} style={{
display: "inline-block",
verticalAlign: "top",
padding: 8,
float: "right",
- marginLeft: 12
+ marginLeft: 12,
+ ...props.style
}}>
{props.icon}
<span style={{