How to use the react-select/dist/react-select.css.toString function in react-select

To help you get started, we’ve selected a few react-select examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github 500tech / mimic / lib / ui / components / layout.js View on Github external
import 'ui/assets/stylesheets/components/sidebar.scss';
import React from 'react';

import normalizeCss from 'normalize.css/normalize.css';
import flexboxGrid from 'flexboxgrid';
import reactSelect from 'react-select/dist/react-select.css';
import applicationCss from 'ui/assets/stylesheets/application.scss';

let styles = {
  __html: `
  <style>
    ${ normalizeCss.toString() }
    ${ flexboxGrid.toString() }
    ${ reactSelect.toString() }
    ${ applicationCss.toString() }
  </style>
`
};

import Header from 'ui/components/header';
import Requests from 'ui/components/requests';
import MainPanel from 'ui/components/main-panel';

export const Layout = () =&gt; (
  <div style="{{overflow:">
    <div></div>
    <div>
      <div>
        <header>
      </header></div></div></div>
github 500tech / mimic / lib / ui / components / modals / export.js View on Github external
import FlatButton from 'material-ui/lib/flat-button';
import TextField from 'material-ui/lib/text-field';
import RadioButtonGroup from 'material-ui/lib/radio-button-group';
import RadioButton from 'material-ui/lib/radio-button';
import Checkbox from 'material-ui/lib/checkbox';
import ExportButton from 'ui/components/export-button';
import Select from 'react-select';
import reactSelect from 'react-select/dist/react-select.css';
import applicationCss from 'ui/assets/stylesheets/application.scss';
import { connect } from 'react-redux';
import { find, get } from 'lodash';

let styles = {
  __html: `
  <style>
    ${ reactSelect.toString() }
    ${ applicationCss.toString() }
  </style>
`
};

const mockOption = ({ method, name, url, params }) =&gt; (
  <div>
    <p style="{{">{method} ({ name || url})</p>
    <p style="{{">{params}</p>
  </div>
);

const mockValue = ({ method, url, params }) =&gt; (
  <div>
    <p style="{{">{method} ({url}) {params}</p>
  </div>