interface: changes ModalButton semantics for keyboard acessibility

fixes urbit/landscape#216
This commit is contained in:
Tyler Brown Cifu Shuster 2021-01-27 14:09:25 -08:00
parent 8f3afbd0ef
commit a81bca8661

View File

@ -60,7 +60,7 @@ const ModalButton = (props) => {
</Box>
</Box>
)}
<Box
<Button
onClick={() => setModalShown(true)}
display="flex"
alignItems="center"
@ -73,7 +73,7 @@ const ModalButton = (props) => {
{...rest}
>
<Icon icon={props.icon} mr={2} color={color}></Icon><Text color={color}>{props.text}</Text>
</Box>
</Button>
</>
);
}