This website works better with JavaScript.
홈
탐색
도움말
가입하기
로그인
OpenSource
/
dify
보기
4
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
152
위키
Activity
소스 검색
fix: change `Switch.props.ref` to optional prop to align with `OriginalSwitch` (
#17443
)
tags/1.2.0
yusheng chen
7 달 전
부모
6efa882ca3
커밋
dc9194ca00
No account linked to committer's email address
1개의 변경된 파일
과
1개의 추가작업
그리고
1개의 파일을 삭제
분할 보기
변경상태 보기
1
1
web/app/components/base/switch/index.tsx
+ 1
- 1
web/app/components/base/switch/index.tsx
파일 보기
@@ -20,7 +20,7 @@ const Switch = (
disabled = false,
className,
}: SwitchProps & {
ref: React.RefObject<HTMLButtonElement>;
ref
?
: React.RefObject<HTMLButtonElement>;
},
) => {
const [enabled, setEnabled] = useState(defaultValue)
Write
Preview
Loading…
취소
저장