File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 < meta name ="og:title " content ="Basic Example - TanStack Devtools " />
1313 < meta
1414 name ="og:description "
15- content ="A basic example of using TanStack Devtools with React and loading up the social previews "
15+ content ="A basic example of using TanStack Devtools with Preact and loading up the social previews "
1616 />
1717 < meta name ="og:url " content ="https://example.com/basic " />
1818
2323 < meta name ="twitter:title " content ="Basic Example - TanStack Devtools " />
2424 < meta
2525 name ="twitter:description "
26- content ="A basic example of using TanStack Devtools with React and loading up the social previews "
26+ content ="A basic example of using TanStack Devtools with Preact and loading up the social previews "
2727 />
2828 < meta name ="twitter:url " content ="https://example.com/basic " />
2929 < script src ="https://unpkg.com/react-scan/dist/auto.global.js "> </ script >
3030 < title > Basic Example - TanStack Devtools</ title >
3131 < description
32- > A basic example of using TanStack Devtools with React .</ description
32+ > A basic example of using TanStack Devtools with Preact .</ description
3333 >
3434 </ head >
3535 < body >
Original file line number Diff line number Diff line change 1+ import type { ComponentChildren } from 'preact'
12import { Button } from './button'
23
3- export const ButtonWithProps = ( props : { children : React . ReactNode } ) => {
4+ export const ButtonWithProps = ( props : { children : ComponentChildren } ) => {
45 return < Button { ...props } />
56}
You can’t perform that action at this time.
0 commit comments