통합거래내역 거래 취소

This commit is contained in:
focp212@naver.com
2025-10-26 15:15:51 +09:00
parent ddd900d311
commit a6f31b9f3a
6 changed files with 252 additions and 79 deletions

View File

@@ -1,5 +1,20 @@
export const AllTransactionCancelSectionPasswordGroup = () => {
import { ChangeEvent, useState } from "react";
export interface AllTransactionCancelSectionPasswordGroupProps {
cancelPassword: string;
setCancelPassword: (cancelPassword: string) => void;
};
export const AllTransactionCancelSectionPasswordGroup = ({
cancelPassword,
setCancelPassword
}: AllTransactionCancelSectionPasswordGroupProps) => {
const [newCancelPassword, setNewCancelPassword] = useState<string>(cancelPassword);
const onChangeNewCancelPassword = (value: string) => {
setCancelPassword(value);
};
return (
<>
<div className="form-group">
@@ -8,11 +23,14 @@ export const AllTransactionCancelSectionPasswordGroup = () => {
<input
className="wid-100 align-right"
type="password"
value="2736356352"
value={ newCancelPassword }
onChange={ (e: ChangeEvent<HTMLInputElement>) => onChangeNewCancelPassword(e.target.value) }
/>
</div>
</div>
{/*
<div className="error-msg">비밀번호 불일치</div>
*/}
</>
);
}