Commit 3735e3768d0f90adf37eae196d84ffa811fc513b

Authored by jingsam
1 parent e3a12bd3

sort components

Showing 1 changed file with 58 additions and 51 deletions   Show diff stats
src/index.js
  1 +import Affix from './components/affix';
  2 +import Alert from './components/alert';
  3 +import BackTop from './components/back-top';
  4 +import Badge from './components/badge';
  5 +import Breadcrumb from './components/breadcrumb';
1 6 import Button from './components/button';
  7 +import Card from './components/card';
  8 +import Checkbox from './components/checkbox';
  9 +import Circle from './components/circle';
  10 +import Collapse from './components/collapse';
2 11 import Icon from './components/icon';
3 12 import Input from './components/input';
4   -import Switch from './components/switch';
5   -import Radio from './components/radio';
6   -import Checkbox from './components/checkbox';
7 13 import InputNumber from './components/input-number';
8   -import { Row, Col } from './components/layout';
  14 +import LoadingBar from './components/loading-bar';
  15 +import Message from './components/message';
  16 +import Modal from './components/modal';
  17 +import Notice from './components/notice';
9 18 import Page from './components/page';
10   -import Badge from './components/badge';
11   -import Tag from './components/tag';
  19 +import Poptip from './components/poptip';
12 20 import Progress from './components/progress';
13   -import Circle from './components/circle';
14   -import Timeline from './components/timeline';
15   -import Affix from './components/affix';
16   -import BackTop from './components/back-top';
  21 +import Radio from './components/radio';
  22 +import Slider from './components/slider';
17 23 import Spin from './components/spin';
18 24 import Steps from './components/steps';
19   -import Breadcrumb from './components/breadcrumb';
20   -import Alert from './components/alert';
21   -import Collapse from './components/collapse';
22   -import Card from './components/card';
23   -import Message from './components/message';
24   -import Notice from './components/notice';
25   -import LoadingBar from './components/loading-bar';
26   -import Modal from './components/modal';
27   -import { Select, Option, OptionGroup } from './components/select';
  25 +import Switch from './components/switch';
  26 +import Tag from './components/tag';
  27 +import Timeline from './components/timeline';
28 28 import Tooltip from './components/tooltip';
29   -import Poptip from './components/poptip';
30   -import Slider from './components/slider';
  29 +import { Row, Col } from './components/layout';
  30 +import { Select, Option, OptionGroup } from './components/select';
31 31  
32 32 const iview = {
  33 + Affix,
  34 + Alert,
  35 + BackTop,
  36 + Badge,
  37 + Breadcrumb,
  38 + BreadcrumbItem: Breadcrumb.Item,
33 39 Button,
34   - iButton: Button,
35 40 ButtonGroup: Button.Group,
  41 + Card,
  42 + Checkbox,
  43 + CheckboxGroup: Checkbox.Group,
  44 + Circle,
  45 + Col,
  46 + Collapse,
36 47 Icon,
37 48 Input,
38   - Switch,
  49 + InputNumber,
  50 + LoadingBar,
  51 + Message,
  52 + Modal,
  53 + Notice,
  54 + Option,
  55 + OptionGroup: OptionGroup,
  56 + Page,
  57 + Panel: Collapse.Panel,
  58 + Poptip,
  59 + Progress,
39 60 Radio,
40 61 RadioGroup: Radio.Group,
41   - Checkbox,
42   - CheckboxGroup: Checkbox.Group,
43   - InputNumber,
44 62 Row,
45   - iCol: Col,
46   - Page,
47   - Badge,
  63 + Select,
  64 + Slider,
  65 + Spin,
  66 + Step: Steps.Step,
  67 + Steps,
  68 + Switch,
48 69 Tag,
49   - Progress,
50   - Circle,
51 70 Timeline,
52 71 TimelineItem: Timeline.Item,
53   - Affix,
54   - BackTop,
55   - Spin,
56   - Steps,
57   - Step: Steps.Step,
58   - Breadcrumb,
59   - BreadcrumbItem: Breadcrumb.Item,
60   - Alert,
61   - Collapse,
62   - Panel: Collapse.Panel,
63   - Card,
64   - Message,
65   - Notice,
66   - LoadingBar,
67   - Modal,
68   - iSelect: Select,
  72 + Tooltip,
  73 +
  74 + iButton: Button,
  75 + iButtonGroup: Button.Group,
  76 + iCol: Col,
  77 + iInput: Input,
69 78 iOption: Option,
70 79 iOptionGroup: OptionGroup,
71   - Tooltip,
72   - Poptip,
73   - Slider
  80 + iSelect: Select
74 81 };
75 82  
76   -module.exports = iview;
77 83 \ No newline at end of file
  84 +module.exports = iview;
... ...