Skip to content

Commit

Permalink
docs:ts format
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Sep 10, 2024
1 parent 046339e commit 5f501ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function ColorModeIconDropdown() {
return (
<React.Fragment>
<IconButton
data-template-mode-trigger=""
data-screenshot="toggle-mode"
onClick={handleClick}
disableRipple
size="small"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ export default function ColorModeSelect(props) {
}
return (
<Select
data-template-mode-trigger=""
value={mode}
onChange={(e) => setMode(e.target.value)}
SelectDisplayProps={{
'data-screenshot': 'toggle-mode',
}}
{...props}
>
<MenuItem value="system">System</MenuItem>
Expand Down

0 comments on commit 5f501ea

Please sign in to comment.