feat: feature/mvp-sprint-1 Added tab index to seedling

This commit is contained in:
Nikolaj Frey 2023-08-14 20:20:21 +10:00
parent b5676c46f8
commit 2cf0cf6807

View File

@ -693,7 +693,13 @@ export const Thingtime = (props) => {
cursor="pointer"
transition="all 0.2s ease-out"
onClick={addNewChild}
onKeyUp={(e) => {
if (e?.key === "Enter") {
addNewChild()
}
}}
paddingY={2}
tabIndex={0}
>
<Icon size={10} name="seedling"></Icon>
{/* <Icon size={7} name="plus"></Icon>