mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-01 09:54:37 +00:00
convert to from so that multiple layout switcher dont collide in
storybook.
This commit is contained in:
@@ -33,7 +33,7 @@ export const LayoutToggle: FC<Props> = ({ layout, setLayout, className }) => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={classNames(styles.toggle, className)}>
|
<form className={classNames(styles.toggle, className)}>
|
||||||
<Tooltip label={t("layout_spotlight_label")}>
|
<Tooltip label={t("layout_spotlight_label")}>
|
||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
@@ -54,6 +54,6 @@ export const LayoutToggle: FC<Props> = ({ layout, setLayout, className }) => {
|
|||||||
/>
|
/>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<GridIcon aria-hidden width={24} height={24} />
|
<GridIcon aria-hidden width={24} height={24} />
|
||||||
</div>
|
</form>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user