question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

For 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:closed
  • Created 8 years ago
  • Reactions:4
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
jossmaccommented, Jan 17, 2017

@piecyk depending on the result of some research for a commercial project, it’s likely that we’ll re-implement using styled-components

2reactions
JedWatsoncommented, Feb 2, 2018

v2 has a complete styling API now 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found