Skip to content

Commit

Permalink
Revert "修复编译错误"
Browse files Browse the repository at this point in the history
This reverts commit 8874057.
  • Loading branch information
gtopia committed Aug 27, 2018
1 parent 66a440a commit 96e2719
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion site/componentsPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default {
'picturePreview': {
type: 'markdown',
name: 'PicturePreview 图片查看器',
style: require('./PicturePreview/index.less'),
style: require('./picturePreview/index.less'),
props: {
source: [
{
Expand Down
2 changes: 1 addition & 1 deletion source/components/Radio/Group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import * as PropTypes from 'prop-types';
import classNames from 'classnames';
import shallowEqual from 'shallowequal';
import Radio from './radio';
import Radio from './Radio';
import { RadioGroupProps, RadioGroupState, RadioChangeEvent } from './interface';
// case sensitive
function getCheckedValue(children: React.ReactNode) {
Expand Down
4 changes: 2 additions & 2 deletions source/components/Radio/Radio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import * as PropTypes from 'prop-types';
import classNames from 'classnames';
import shallowEqual from 'shallowequal';
import RcCheckbox from '../Checkbox/src/Checkbox.jsx';
import RadioGroup from './group';
import RadioButton from './radioButton';
import RadioGroup from './Group';
import RadioButton from './RadioButton';
import { RadioProps, RadioGroupContext } from './interface';
// case sensitive
export default class Radio extends React.Component<RadioProps, {}> {
Expand Down
2 changes: 1 addition & 1 deletion source/components/Radio/RadioButton.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import * as PropTypes from 'prop-types';
import { AbstractCheckboxProps } from '../Checkbox/Checkbox';
import Radio from './radio';
import Radio from './Radio';
import { RadioChangeEvent } from './interface';

export type RadioButtonProps = AbstractCheckboxProps<RadioChangeEvent>;
Expand Down
6 changes: 3 additions & 3 deletions source/components/Radio/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Radio from './radio';
import Group from './group';
import Button from './radioButton';
import Radio from './Radio';
import Group from './Group';
import Button from './RadioButton';
import './style/index.less';

export * from './interface';
Expand Down
4 changes: 2 additions & 2 deletions source/components/Transfer/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import classNames from 'classnames';
import Checkbox from '../Checkbox';
import PureRenderMixin from '../Checkbox/src/PureRenderMixin';
import { TransferItem } from './index';
import Search from './search';
import Item from './item';
import Search from './Search';
import Item from './Item';
import Animate from 'rc-animate';
import triggerEvent from '../../utils/triggerEvent';

Expand Down
6 changes: 3 additions & 3 deletions source/components/Transfer/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import * as PropTypes from 'prop-types';
import classNames from 'classnames';
import List, { TransferListProps } from './list';
import Operation from './operation';
import Search from './search';
import List, { TransferListProps } from './List';
import Operation from './Operation';
import Search from './Search';

import './style/index.less';

Expand Down

0 comments on commit 96e2719

Please sign in to comment.