diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/ui.tsx | 4 |
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={{ |