theme support
See original GitHub issueFor better override styles (when you need to have 3 components whit different look) created something like props.theme, ref to gist
https://gist.github.com/piecyk/14cfd932aabd1989ff10
and usage
var theme = {
SelectControl: 'my-Select-control',
SelectPlaceholder: 'my-Select-placeholder'
};
var selectProps = {
asyncOptions: loadOptions,
onChange: this.onChange,
theme: theme,
name: "react-select-test"
};
return (<Select {...selectProps} />);
i want to created a pull request with this, but maybe is there a better solution… any thoughts?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:4
- Comments:10 (3 by maintainers)
Top Results From Across the Web
add_theme_support() | Function
Registers theme support for a given feature. Contents. Description; Parameters; Return; More Information. Features. Post Formats; Post Thumbnails; Custom ...
Read more >Theme support - Shopify Help Center
Learn more about hiring Shopify Experts. On this page. Where to find support for your theme; Shopify Design Policy; Supported browsers; Additional resources ......
Read more >WordPress Theme Support
Choose a Theme. Choosing a theme is an important step at the beginning of creating your website. This guide will show you how...
Read more >Generate Theme Support Function - GenerateWP
WordPress Theme Support Generator for developers. ... Use this tool to create custom code for Theme Features with add_theme_support() function.
Read more >ThemeSupport
ThemeSupport is a leader in WordPress Development, WordPress Hosting, WordPress Support, and WordPress Maintenance. We do WordPress for you!
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@piecyk depending on the result of some research for a commercial project, it’s likely that we’ll re-implement using styled-components
v2 has a complete styling API now 👍