Commit b059104
committed
feat: Allow ReactNode as label prop in TextField component
Update TextField component's label prop type from string to string | React.ReactNode
to support both simple text labels and complex ReactNode labels while maintaining
full backward compatibility.
Requested by: Mohsen Ghaemmaghami1 parent 23ca528 commit b059104
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments