import React from 'react';

import { flavourOptions } from '../data';
import Select from '../../src';

export default () => (
  <Select
    defaultValue={flavourOptions[2]}
    label="Single select"
    options={flavourOptions}
    theme={(theme) => ({
      ...theme,
      borderRadius: 0,
      colors: {
      ...theme.colors,
        text: 'orangered',
        primary25: 'hotpink',
        primary: 'black',
      },
    })}
  />
);

import React from 'react';

import { flavourOptions } from '../data';
import Select from '../../src';

export default () => (
  <Select
    defaultValue={flavourOptions[2]}
    label="Single select"
    options={flavourOptions}
    theme={(theme) => ({
      ...theme,
      borderRadius: 0,
      colors: {
      ...theme.colors,
        primary25: 'hotpink',
        primary: 'black',
      },
    })}
  />
);

Remove text property from theme customisation
Remove text property from theme customisation
