✨ feat(登录页面): 初步完成登录界面

This commit is contained in:
xuan
2022-09-13 14:24:17 +08:00
parent 0de8f2060b
commit 677ea68f27
44 changed files with 1567 additions and 42723 deletions
+5 -5
View File
@@ -4,10 +4,10 @@ import { forwardRef, useEffect, useImperativeHandle, useState } from "react";
import styles from "./index.module.scss"
type params = {
onSelect?: () => void, //选择触发
onClose?: () => void, //取消触发
status?: false|true //是否选中
disabled?: false|true //是否禁用
onSelect?: () => void //选择触发
onClose?: () => void //取消触发
status?: boolean //是否选中
disabled?: boolean //是否禁用
}
export default forwardRef(({onSelect, onClose, status = false, disabled = false}: params, ref) => {
const [selected, SetSelected] = useState(false)
@@ -36,4 +36,4 @@ export default forwardRef(({onSelect, onClose, status = false, disabled = false}
</View>
</>
)
})
})