feat: feature/mvp-sprint-1 Added tab index to seedling
This commit is contained in:
parent
b5676c46f8
commit
2cf0cf6807
@ -693,7 +693,13 @@ export const Thingtime = (props) => {
|
|||||||
cursor="pointer"
|
cursor="pointer"
|
||||||
transition="all 0.2s ease-out"
|
transition="all 0.2s ease-out"
|
||||||
onClick={addNewChild}
|
onClick={addNewChild}
|
||||||
|
onKeyUp={(e) => {
|
||||||
|
if (e?.key === "Enter") {
|
||||||
|
addNewChild()
|
||||||
|
}
|
||||||
|
}}
|
||||||
paddingY={2}
|
paddingY={2}
|
||||||
|
tabIndex={0}
|
||||||
>
|
>
|
||||||
<Icon size={10} name="seedling"></Icon>
|
<Icon size={10} name="seedling"></Icon>
|
||||||
{/* <Icon size={7} name="plus"></Icon>
|
{/* <Icon size={7} name="plus"></Icon>
|
||||||
|
Loading…
Reference in New Issue
Block a user