Skip to content

Commit

Permalink
Merge pull request #4112 from JedWatson/bladey/fix-cx-custom-componen…
Browse files Browse the repository at this point in the history
…ts-docs
  • Loading branch information
bladey authored Jul 7, 2020
2 parents d159051 + df81aac commit 79c9e9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/examples/StyleCompositionExample.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { css } from 'emotion';
/** @jsx jsx */
import { jsx } from '@emotion/core';
import Select from 'react-select';
import { colourOptions } from '../data';

Expand All @@ -18,8 +18,8 @@ const Option = (props: OptionProps) => {
return (
<div
ref={innerRef}
css={getStyles('option', props)}
className={cx(
css(getStyles('option', props)),
{
option: true,
'option--is-disabled': isDisabled,
Expand Down

0 comments on commit 79c9e9d

Please sign in to comment.