29 lines
866 B
JavaScript
29 lines
866 B
JavaScript
/*
|
|
* @Author: zhp
|
|
* @Date: 2024-08-21 16:31:53
|
|
* @LastEditTime: 2024-08-30 14:45:54
|
|
* @LastEditors: zhp
|
|
* @Description:
|
|
*/
|
|
import React from 'react';
|
|
import KilnPress from '../components/paramsInput';
|
|
// import LiquidTrend from '../components/LiquidTrend';
|
|
|
|
import { motion } from 'framer-motion';
|
|
|
|
import cls from './index.module.scss';
|
|
export default function Index({ onGetValueFromGrandChild }) {
|
|
return (
|
|
<motion.div
|
|
className={cls.leftBar}
|
|
initial={{ opacity: 0, position: 'absolute' }}
|
|
animate={{ opacity: 1, position: 'relative' }}
|
|
exit={{ opacity: 0, position: 'relative' }}
|
|
transition={{ type: 'tween' }}
|
|
>
|
|
<KilnPress onSendValueToParent={onGetValueFromGrandChild} style={{ flex: 1, width: '100%', marginTop: '24px' }} />
|
|
{/* <LiquidTrend style={{ flex: 1, width: '100%', marginTop: '24px' }} /> */}
|
|
</motion.div>
|
|
);
|
|
}
|