Skip to content

Commit

Permalink
Adding more colours to the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Feb 2, 2018
1 parent a15757c commit 692fe67
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions examples/data.js
@@ -1,10 +1,14 @@
export const colourOptions = [
{ value: 'red', label: 'Red', color: '#FF5630' },
{ value: 'purple', label: 'Purple', color: '#6554C0' },
{ value: 'ocean', label: 'Ocean', color: '#00B8D9' },
{ value: 'blue', label: 'Blue', color: '#0052CC', disabled: true },
{ value: 'purple', label: 'Purple', color: '#5243AA' },
{ value: 'red', label: 'Red', color: '#FF5630' },
{ value: 'ochre', label: 'Ochre', color: '#FF8B00' },
{ value: 'yellow', label: 'Yellow', color: '#FFC400' },
{ value: 'green', label: 'Green', color: '#36B37E' },
{ value: 'yellow', label: 'Yellow', color: '#FFAB00' },
{ value: 'grey', label: 'Grey', color: '#666666' },
{ value: 'forest', label: 'Forest', color: '#00875A' },
{ value: 'slate', label: 'Slate', color: '#253858' },
{ value: 'silver', label: 'Silver', color: '#666666' },
];

export const flavourOptions = [
Expand Down
4 changes: 2 additions & 2 deletions examples/pages/Styled.js
Expand Up @@ -98,7 +98,7 @@ export default class StyledApp extends Component<*, State> {
<h4>Single Select</h4>
<SelectWithValue
autoFocus
defaultValue={colourOptions[4]}
defaultValue={colourOptions[2]}
label="Single select"
options={colourOptions}
styles={colourStylesSingle}
Expand All @@ -107,7 +107,7 @@ export default class StyledApp extends Component<*, State> {
<h4>Multi Select</h4>
<SelectWithValue
closeMenuOnSelect={false}
defaultValue={[colourOptions[2], colourOptions[3]]}
defaultValue={[colourOptions[0], colourOptions[1]]}
isMulti
options={colourOptions}
styles={colourStylesMulti}
Expand Down

0 comments on commit 692fe67

Please sign in to comment.