Skip to content

Commit

Permalink
[docs] Fix inconsistent multi input range field separators (#16043)
Browse files Browse the repository at this point in the history
flaviendelangle authored Dec 31, 2024

Unverified

The committer email address is not verified.
1 parent f689693 commit 2f4af7e
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -140,7 +140,7 @@ const BrowserMultiInputDateRangeField = React.forwardRef((props, ref) => {
className={className}
>
<BrowserTextField {...fieldResponse.startDate} />
<span> </span>
<span> </span>
<BrowserTextField {...fieldResponse.endDate} />
</Stack>
);
Original file line number Diff line number Diff line change
@@ -179,7 +179,7 @@ const BrowserMultiInputDateRangeField = React.forwardRef(
className={className}
>
<BrowserTextField {...fieldResponse.startDate} />
<span> </span>
<span> </span>
<BrowserTextField {...fieldResponse.endDate} />
</Stack>
);
Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@ const MultiInputJoyDateRangeFieldSeparator = styled(
<FormControl>
{/* Ensure that the separator is correctly aligned */}
<span />
<Typography {...props}>{props.children ?? ' '}</Typography>
<Typography {...props}>{props.children ?? ' '}</Typography>
</FormControl>
),
{
Original file line number Diff line number Diff line change
@@ -117,7 +117,7 @@ const MultiInputJoyDateRangeFieldSeparator = styled(
<FormControl>
{/* Ensure that the separator is correctly aligned */}
<span />
<Typography {...props}>{props.children ?? ' '}</Typography>
<Typography {...props}>{props.children ?? ' '}</Typography>
</FormControl>
),
{

0 comments on commit 2f4af7e

Please sign in to comment.