setup
This commit is contained in:
22
src/components/Modules/QualityCheck/LeftSide/index.jsx
Normal file
22
src/components/Modules/QualityCheck/LeftSide/index.jsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import React from 'react';
|
||||
import Spec from '../../../Common/CurrentLineSpec';
|
||||
import GoodRate from '../../../Common/TodayGood/GoodProduction';
|
||||
|
||||
import { motion } from 'framer-motion';
|
||||
|
||||
import cls from './index.module.scss';
|
||||
|
||||
export default function index() {
|
||||
return (
|
||||
<motion.div
|
||||
className={cls.leftBar}
|
||||
initial={{ opacity: 0, position: 'absolute' }}
|
||||
animate={{ opacity: 1, position: 'relative' }}
|
||||
exit={{ opacity: 0, position: 'relative' }}
|
||||
transition={{ type: 'tween' }}
|
||||
>
|
||||
<Spec style={{ width: '100%' }} />
|
||||
<GoodRate style={{ flex: 1, marginTop: '24px', width: '100%' }} />
|
||||
</motion.div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user