mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-28 17:55:15 +02:00
23 lines
553 B
TypeScript
23 lines
553 B
TypeScript
import { FC, Dispatch, SetStateAction } from 'react';
|
|
import ResetPasswordForm from '../ResetPasswordForm/ResetPasswordForm';
|
|
|
|
interface IResetPasswordDetails {
|
|
token: string;
|
|
setLoading: Dispatch<SetStateAction<boolean>>;
|
|
}
|
|
|
|
const ResetPasswordDetails: FC<IResetPasswordDetails> = ({
|
|
children,
|
|
token,
|
|
setLoading,
|
|
}) => {
|
|
return (
|
|
<div style={{ width: '100%' }}>
|
|
{children}
|
|
<ResetPasswordForm token={token} setLoading={setLoading} />
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default ResetPasswordDetails;
|