fix: Unable to access icon picker (from ts migration)

This commit is contained in:
Tom Moor
2021-12-05 23:20:07 -08:00
parent b16e27a790
commit 6550d89d9b
2 changed files with 8 additions and 2 deletions

View File

@@ -60,7 +60,13 @@ const Modal = ({
<DialogBackdrop {...dialog}>
{(props) => (
<Backdrop {...props}>
<Dialog {...dialog} preventBodyScroll hideOnEsc hide={onRequestClose}>
<Dialog
{...dialog}
preventBodyScroll
hideOnEsc
hideOnClickOutside={false}
hide={onRequestClose}
>
{(props) => (
<Scene
$nested={!!depth}

View File

@@ -1,6 +1,6 @@
import styled from "styled-components";
const Button = styled.button<{
const Button = styled.button.attrs(() => ({ type: "button" }))<{
width?: number;
height?: number;
size?: number;