Added buttons to UserEditTimeReportPage
This commit is contained in:
		
							parent
							
								
									42498ca1c4
								
							
						
					
					
						commit
						6be1060cff
					
				
					 1 changed files with 17 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,9 +1,25 @@
 | 
			
		|||
import BasicWindow from "../../Components/BasicWindow";
 | 
			
		||||
import Button from "../../Components/Button";
 | 
			
		||||
 | 
			
		||||
function UserEditTimeReportPage(): JSX.Element {
 | 
			
		||||
  const content = <></>;
 | 
			
		||||
 | 
			
		||||
  const buttons = <></>;
 | 
			
		||||
  const buttons = (
 | 
			
		||||
    <>
 | 
			
		||||
      <Button
 | 
			
		||||
        text="Save"
 | 
			
		||||
        onClick={(): void => {
 | 
			
		||||
          return;
 | 
			
		||||
        }}
 | 
			
		||||
      />
 | 
			
		||||
      <Button
 | 
			
		||||
        text="Back"
 | 
			
		||||
        onClick={(): void => {
 | 
			
		||||
          return;
 | 
			
		||||
        }}
 | 
			
		||||
      />
 | 
			
		||||
    </>
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
  return <BasicWindow username="Admin" content={content} buttons={buttons} />;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue