16 | {children}
17 |
18 | );
19 | };
20 |
--------------------------------------------------------------------------------
/examples/react-query/components/typography/h1.tsx:
--------------------------------------------------------------------------------
1 | import type { DetailedHTMLProps, FC, HTMLAttributes } from 'react';
2 |
3 | import { cn } from '@/lib/utils';
4 |
5 | export const H1: FC<
6 | DetailedHTMLProps10 | {children} 11 |
12 | ); 13 | }; 14 | -------------------------------------------------------------------------------- /examples/react-query/components/typography/small.tsx: -------------------------------------------------------------------------------- 1 | import type { DetailedHTMLProps, FC, HTMLAttributes } from 'react'; 2 | 3 | import { cn } from '@/lib/utils'; 4 | 5 | export const Small: FC< 6 | DetailedHTMLProps13 | {children} 14 |
15 | ); 16 | }; 17 | -------------------------------------------------------------------------------- /examples/react-query/components/ui/avatar.tsx: -------------------------------------------------------------------------------- 1 | import * as AvatarPrimitive from '@radix-ui/react-avatar'; 2 | import * as React from 'react'; 3 | 4 | import { cn } from '@/lib/utils'; 5 | 6 | function Avatar({ 7 | className, 8 | ...props 9 | }: React.ComponentProps23 | {siteConfig.description} 24 |
25 |
16 | {children}
17 |
18 | );
19 | };
20 |
--------------------------------------------------------------------------------
/examples/swr/components/typography/h1.tsx:
--------------------------------------------------------------------------------
1 | import type { DetailedHTMLProps, FC, HTMLAttributes } from 'react';
2 |
3 | import { cn } from '@/lib/utils';
4 |
5 | export const H1: FC<
6 | DetailedHTMLProps10 | {children} 11 |
12 | ); 13 | }; 14 | -------------------------------------------------------------------------------- /examples/swr/components/typography/small.tsx: -------------------------------------------------------------------------------- 1 | import type { DetailedHTMLProps, FC, HTMLAttributes } from 'react'; 2 | 3 | import { cn } from '@/lib/utils'; 4 | 5 | export const Small: FC< 6 | DetailedHTMLProps13 | {children} 14 |
15 | ); 16 | }; 17 | -------------------------------------------------------------------------------- /examples/swr/components/ui/avatar.tsx: -------------------------------------------------------------------------------- 1 | import * as AvatarPrimitive from '@radix-ui/react-avatar'; 2 | import * as React from 'react'; 3 | 4 | import { cn } from '@/lib/utils'; 5 | 6 | function Avatar({ 7 | className, 8 | ...props 9 | }: React.ComponentProps23 | {siteConfig.description} 24 |
25 |