Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
0.2.2 - Fix export
Browse files Browse the repository at this point in the history
  • Loading branch information
jducro committed Mar 6, 2018
1 parent 973d5d3 commit 8e4adf5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deskpro/token-field",
"version": "0.2.1",
"version": "0.2.2",
"description": "",
"main": "dist/index.js",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion src/Components/TokenField.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as inputs from './Input';
import TokenFieldInput from './TokenFieldInput';
import styles from '../styles/style.css';

export class TokenField extends React.Component {
export default class TokenField extends React.Component {
static propTypes = {
tokenTypes: PropTypes.arrayOf(PropTypes.shape({
id: PropTypes.string.isRequired,
Expand Down
2 changes: 1 addition & 1 deletion tests/jest/components/testTokenField.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import renderer from 'react-test-renderer';
import { TokenField } from 'Components/TokenField';
import TokenField from 'Components/TokenField';
import { noop } from '@deskpro/react-components/dist/utils';

const countries = [
Expand Down

0 comments on commit 8e4adf5

Please sign in to comment.