Forráskód Böngészése

chore: update upload story and run chromatic

走鹃 3 éve
szülő
commit
f7042bd27b

+ 0 - 1
packages/semi-ui/_base/_story/index.scss

@@ -5,7 +5,6 @@ body {
     color: var(--semi-color-text-0);
 }
 
-
 // 给每个组件的 story 区域加个 padding,如果需要更大的 padding 可以在组件内自定义样式
 .sb-show-main.sb-main-padded > #root {
     padding: 20px;

+ 2 - 3
packages/semi-ui/upload/_story/upload.stories.js

@@ -1,11 +1,10 @@
 /* argus-disable unPkgSensitiveInfo */
 import React, { useState } from 'react';
-import { Upload, Button, Toast, Icon } from '@douyinfe/semi-ui/index';
+import FileCard from '../fileCard';
+import { Button, Upload, Toast, Icon } from '@douyinfe/semi-ui/index';
 import { withField, Form } from '../../form/index';
 import { IconPlus, IconFile, IconUpload, IconEyeOpened, IconDownload, IconDelete } from '@douyinfe/semi-icons';
 
-import FileCard from '../fileCard';
-
 export default {
   title: 'Upload'
 }