react-spectrum
175929e7 - feat: allow custom react element for S2 Picker value (#9541)

Commit
37 days ago
feat: allow custom react element for S2 Picker value (#9541) * feat: add types for renderValue prop * initial impl of renderValue * remove css restriction on non-slot elements * clamp picker value height * test: renderValue displays selected items correctly * docs: document renderValue usage * docs: improve docs example * fix render without picker item * lint and type fix * more real life example * fix accessibility warnings --------- Co-authored-by: Alastair Choo <achoo@adobe.com> Co-authored-by: Robert Snow <rsnow@adobe.com> Co-authored-by: Robert Snow <snowystinger@gmail.com>
Author
Parents
Loading