Apply react hook form for user page

This commit is contained in:
2023-11-03 17:30:34 +07:00
parent ae7c25e6f3
commit 32a65038f5
10 changed files with 404 additions and 577 deletions
+14 -1
View File
@@ -1,5 +1,8 @@
import styled from 'styled-components';
// Components
import Button from '../../commons/styles/Button';
const StyledUser = styled.main`
padding: 20px;
padding-bottom: 100px;
@@ -21,4 +24,14 @@ const StyledOperationTable = styled.div`
justify-content: flex-end;
`;
export { StyledUser, Title, StyledOperationTable };
const FormBtn = styled(Button)`
width: 100%;
&:disabled,
&[disabled] {
background-color: var(--disabled-btn-color);
cursor: no-drop;
}
`;
export { StyledUser, Title, StyledOperationTable, FormBtn };