inital commit
This commit is contained in:
		
							
								
								
									
										18
									
								
								src/routes/test.lazy.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								src/routes/test.lazy.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
import {createLazyFileRoute} from "@tanstack/react-router";
 | 
			
		||||
import {Button} from "@mantine/core";
 | 
			
		||||
import {notifications} from "@mantine/notifications";
 | 
			
		||||
 | 
			
		||||
export const Route = createLazyFileRoute('/test')({
 | 
			
		||||
    component: TestPage
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
function TestPage() {
 | 
			
		||||
    return (
 | 
			
		||||
        <>
 | 
			
		||||
            <Button onClick={() => {
 | 
			
		||||
                notifications.show({title: "test", message: "хуй"})
 | 
			
		||||
            }}>TEST</Button>
 | 
			
		||||
 | 
			
		||||
        </>
 | 
			
		||||
    )
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user