Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

lowercase-function-declaration.tsx

19 lines413 Bytes

1import { createFileRoute } from '@tanstack/react-router'
2​
3export const Route = createFileRoute('/')({
4 component,
5 pendingComponent,
6 errorComponent,
7})
8​
9function component() {
10 return <div>lowercase function declaration</div>
12​
13function pendingComponent() {
14 return <div>lowercase pending function declaration</div>
16​
17function errorComponent() {
18 return <div>lowercase error function declaration</div>