Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
Note that we now have a custom-styled react-select component  via PR #1482.
  • Loading branch information
jameshadfield committed Mar 27, 2022
1 parent 0eb8807 commit 968899e
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/components/controls/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,32 +78,6 @@ export const SidebarIconContainer = styled.span`
color: #888;
`;

/* React Select is a lot of work to style
* I can't yet get it working with styled components
* We import the theme here, rather than accessing it via the <ThemeProvider>
*/
// const customReactSelectStyles = {
// container: (provided, state) => {
// console.log(provided);
// return {
// ...provided,
// height: "20px"
// };
// },
// control: (provided, state) => {
// return {
// ...provided,
// color: "yellow",
// backgroundColor: "pink",
// borderColor: "red",
// height: "20px"
// };
// }
// };
// export const Select = (props) => (
// <ReactSelect styles={customReactSelectStyles} {...props}/>
// );

export const StyledTooltip = styled(ReactTooltip)`
max-width: 30vh;
white-space: normal;
Expand Down

0 comments on commit 968899e

Please sign in to comment.