Skip to content

Commit 21dc46d

Browse files
committed
run format command
1 parent 336f58f commit 21dc46d

8 files changed

Lines changed: 17 additions & 11 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<Tooltip describeChild title="Add" arrow>
22
<Button>Arrow</Button>
3-
</Tooltip>
3+
</Tooltip>
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
<Tooltip describeChild open={open} onClose={handleClose} onOpen={handleOpen} title="Add">
1+
<Tooltip
2+
describeChild
3+
open={open}
4+
onClose={handleClose}
5+
onOpen={handleOpen}
6+
title="Add"
7+
>
28
<Button>Controlled</Button>
3-
</Tooltip>
9+
</Tooltip>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<Tooltip describeChild title="Add" enterDelay={500} leaveDelay={200}>
22
<Button>[500ms, 200ms]</Button>
3-
</Tooltip>
3+
</Tooltip>

docs/data/material/components/tooltips/DisabledTooltips.tsx.preview

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<span>
33
<Button disabled>A Disabled Button</Button>
44
</span>
5-
</Tooltip>
5+
</Tooltip>

docs/data/material/components/tooltips/FollowCursorTooltips.tsx.preview

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<Box sx={{ bgcolor: 'text.disabled', color: 'background.paper', p: 2 }}>
33
Disabled Action
44
</Box>
5-
</Tooltip>
5+
</Tooltip>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<Tooltip describeChild title="Add" disableInteractive>
22
<Button>Not interactive</Button>
3-
</Tooltip>
3+
</Tooltip>

docs/data/material/components/tooltips/PositionedTooltips.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ export default function PositionedTooltips() {
5353
</Grid>
5454
<Grid container sx={{ justifyContent: 'center' }}>
5555
<Grid>
56-
<Tooltip describeChild title="Add" placement="bottom-start">
56+
<Tooltip title="Add" placement="bottom-start">
5757
<Button>bottom-start</Button>
5858
</Tooltip>
59-
<Tooltip describeChild title="Add" placement="bottom">
59+
<Tooltip title="Add" placement="bottom">
6060
<Button>bottom</Button>
6161
</Tooltip>
62-
<Tooltip describeChild title="Add" placement="bottom-end">
62+
<Tooltip title="Add" placement="bottom-end">
6363
<Button>bottom-end</Button>
6464
</Tooltip>
6565
</Grid>

docs/data/material/components/tooltips/VariableWidth.tsx.preview

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
</CustomWidthTooltip>
77
<NoMaxWidthTooltip title={longText}>
88
<Button sx={{ m: 1 }}>No wrapping</Button>
9-
</NoMaxWidthTooltip>
9+
</NoMaxWidthTooltip>

0 commit comments

Comments
 (0)