{error}
10 | ))} 11 |14 | Errors: 15 |
16 | {errorCount === 0 ? ( 17 |{errorCount}
20 |{errorCount}
25 |{children}
; 8 | } 9 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/Primitives/BodyBold.tsx: -------------------------------------------------------------------------------- 1 | export type BodyBoldProps = { 2 | children: React.ReactNode; 3 | className: string; 4 | }; 5 | 6 | export function BodyBold({ children, className }: BodyBoldProps) { 7 | return ( 8 |9 | {children} 10 |
11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/Primitives/ExtraLargeTitle.tsx: -------------------------------------------------------------------------------- 1 | export type ExtraLargeTitleProps = { 2 | children: React.ReactNode; 3 | className: string; 4 | }; 5 | 6 | export function ExtraLargeTitle({ children, className }: ExtraLargeTitleProps) { 7 | return{children}
; 8 | } 9 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/Primitives/ExtraSmallBody.tsx: -------------------------------------------------------------------------------- 1 | export type ExtraSmallBodyProps = { 2 | children: React.ReactNode; 3 | className?: string; 4 | }; 5 | 6 | export function ExtraSmallBody({ children, className }: ExtraSmallBodyProps) { 7 | return{children}
; 8 | } 9 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/Primitives/FormField.tsx: -------------------------------------------------------------------------------- 1 | import { Label } from "./Label"; 2 | 3 | export function FormField({ 4 | label, 5 | name, 6 | children, 7 | }: { 8 | label: string; 9 | name: string; 10 | children: React.ReactNode; 11 | }) { 12 | return ( 13 |{children}
; 8 | } 9 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/Primitives/LargeTitle.tsx: -------------------------------------------------------------------------------- 1 | export type LargeTitleProps = { 2 | children: React.ReactNode; 3 | className?: string; 4 | }; 5 | 6 | export function LargeTitle({ children, className }: LargeTitleProps) { 7 | return{children}
; 8 | } 9 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/Primitives/MediumBody.tsx: -------------------------------------------------------------------------------- 1 | export type MediumBodyProps = { 2 | children: React.ReactNode; 3 | className: string; 4 | }; 5 | 6 | export function MediumBody({ children, className }: MediumBodyProps) { 7 | return ( 8 |{children}
9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/Primitives/Mono.tsx: -------------------------------------------------------------------------------- 1 | export type MonoProps = { 2 | children: React.ReactNode; 3 | className: string; 4 | }; 5 | 6 | export function Mono({ children, className }: MonoProps) { 7 | return{children}
; 8 | } 9 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/Primitives/SmallBody.tsx: -------------------------------------------------------------------------------- 1 | export type SmallBodyProps = { 2 | children: React.ReactNode; 3 | className: string; 4 | }; 5 | 6 | export function SmallBody({ children, className }: SmallBodyProps) { 7 | return{children}
; 8 | } 9 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/Primitives/SmallMono.tsx: -------------------------------------------------------------------------------- 1 | export type SmallMonoProps = { 2 | children: React.ReactNode; 3 | className: string; 4 | }; 5 | 6 | export function SmallMono({ children, className }: SmallMonoProps) { 7 | return{children}
; 8 | } 9 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/Primitives/SmallSubtitle.tsx: -------------------------------------------------------------------------------- 1 | export type SmallSubtitleProps = { 2 | children: React.ReactNode; 3 | className: string; 4 | }; 5 | 6 | export function SmallSubtitle({ children, className }: SmallSubtitleProps) { 7 | return{children}
; 8 | } 9 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/Primitives/SmallTitle.tsx: -------------------------------------------------------------------------------- 1 | export type SmallTitleProps = { 2 | children: React.ReactNode; 3 | className?: string; 4 | }; 5 | 6 | export function SmallTitle({ children, className }: SmallTitleProps) { 7 | return{children}
; 8 | } 9 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/Primitives/Title.tsx: -------------------------------------------------------------------------------- 1 | export type TitleProps = { 2 | children: React.ReactNode; 3 | className?: string; 4 | }; 5 | 6 | export function Title({ children, className }: TitleProps) { 7 | return{children}
; 8 | } 9 | -------------------------------------------------------------------------------- /apps/webapp/app/libraries/ui/src/components/ProjectKey.tsx: -------------------------------------------------------------------------------- 1 | import { CopyTextButton } from "./Buttons/CopyTextButton"; 2 | import { Label } from "./Primitives/Label"; 3 | 4 | export function ProjectKey({ projectId }: { projectId: string }) { 5 | return ( 6 |Schema Editor
5 |