re-com icon indicating copy to clipboard operation
re-com copied to clipboard

Add parts support for dropdown arrow

Open MawiraIke opened this issue 4 years ago • 0 comments

This PR fixes #101

For example,

[single-dropdown
  :parts      {:arrow {:style {:background "url(https://fakeimg.pl/300)"}}}
  :src        (at)
  :choices    demos
  :model      selected-demo-id
  :width      "300px"
  :max-height "300px"
  :on-change  #(reset! selected-demo-id %)]

produces

dropdown-arrow-change

MawiraIke avatar Jan 24 '22 11:01 MawiraIke