Skip to content

Commit

Permalink
Review: Nora
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Nov 15, 2024
1 parent 4d125f6 commit fa353bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ function CustomLabel({ children, className, selectFirstChildren }) {
>
<Typography>{children}</Typography>
{!!selectFirstChildren && (
<Button size="small" onClick={selectFirstChildren}>
<Button
size="small"
variant="text"
sx={{ position: 'absolute', right: 0, top: 0 }}
onClick={selectFirstChildren}
>
Select child
</Button>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ function CustomLabel({
>
<Typography>{children}</Typography>
{!!selectFirstChildren && (
<Button size="small" onClick={selectFirstChildren}>
<Button
size="small"
variant="text"
sx={{ position: 'absolute', right: 0, top: 0 }}
onClick={selectFirstChildren}
>
Select child
</Button>
)}
Expand Down

0 comments on commit fa353bd

Please sign in to comment.