Commit 44d92f8
fix(segmented-control): type SegmentedControlItem with its declared props interface
The forwardRef generic used the narrow UseSegmentedControlItemProps instead of
the SegmentedControlItemProps interface declared right above, rejecting
children/className/asChild at the type level while the runtime always spread
them. No runtime change. Same fix as #1775; kept as a standalone commit so a
rebase onto dev drops it automatically.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 3490b81 commit 44d92f8
1 file changed
Lines changed: 13 additions & 14 deletions
Lines changed: 13 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
59 | 57 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
0 commit comments