Skip to content

Commit 3a658e7

Browse files
authored
chore: add isJustified to segmented control in s2 example apps (#7362)
1 parent e388eea commit 3a658e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/s2-parcel-example/src/Lazy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export default function Lazy() {
165165
The missing link.
166166
</Link>
167167
<Link href="/foo">Foo</Link>
168-
<SegmentedControl aria-label="Time granularity" styles={style({width: 384})}>
168+
<SegmentedControl aria-label="Time granularity" styles={style({width: 384})} isJustified>
169169
<SegmentedControlItem id="day">Day</SegmentedControlItem>
170170
<SegmentedControlItem id="week">Week</SegmentedControlItem>
171171
<SegmentedControlItem id="month">Month</SegmentedControlItem>

examples/s2-webpack-5-example/src/Lazy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export default function Lazy() {
165165
The missing link.
166166
</Link>
167167
<Link href="/foo">Foo</Link>
168-
<SegmentedControl aria-label="Time granularity" styles={style({width: 384})}>
168+
<SegmentedControl aria-label="Time granularity" styles={style({width: 384})} isJustified>
169169
<SegmentedControlItem id="day">Day</SegmentedControlItem>
170170
<SegmentedControlItem id="week">Week</SegmentedControlItem>
171171
<SegmentedControlItem id="month">Month</SegmentedControlItem>

0 commit comments

Comments
 (0)