Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to change styles for Twitter-Picker #816

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/documentation/03.04-individual.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,4 @@ Some pickers have specific APIs that are unique to themselves:
* **colors** - Array of Strings, Color squares to display. Default `['#FF6900', '#FCB900', '#7BDCB5', '#00D084', '#8ED1FC', '#0693E3', '#ABB8C3', '#EB144C', '#F78DA7', '#9900EF']`
* **triangle** - String, Either `hide`, `top-left` or `top-right`. Default `top-left`
* **onSwatchHover** - An event handler for `onMouseOver` on the `<Swatch>`s within this component. Gives the args `(color, event)`
* **styles** - [ReactCSS](https://github.com/casesandberg/reactcss) object to change [the default styles](https://github.com/casesandberg/react-color/blob/master/src/components/twitter/Twitter.js#L13-L79), eg `<TwitterPicker … styles={{ default: { input: { height: '30px' }}}} />`