Files
xuchang-new/src/components/Modules/QualityCheck/LeftSide/index.jsx
2023-11-09 15:34:52 +08:00

23 lines
626 B
JavaScript

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>
);
}