Skip to content

Commit

Permalink
Merge branch 'master' into use-combobox
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewCharlton authored Jul 23, 2021
2 parents b889957 + e2e3b39 commit 3ef6e34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples/CustomControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import React, { Component } from 'react';
import Select, { components, ControlProps } from 'react-select';
import { ColourOption, colourOptions } from '../data';
const controlStyles = {
borderRadius: '1px solid black',
border: '1px solid black',
padding: '5px',
background: colourOptions[2].color,
color: 'white',
};

const ControlComponent = (props: ControlProps<ColourOption, false>) => (
<div style={controlStyles}>
{<p>Custom Control</p>}
<p>Custom Control</p>
<components.Control {...props} />
</div>
);
Expand Down

0 comments on commit 3ef6e34

Please sign in to comment.