mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-12-10 23:42:37 +01:00
fix: update React.js to v19.2.1 (security release)
Ref: https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components
This commit is contained in:
@@ -34,8 +34,9 @@ interface ButtonBaseProps extends VariantProps<typeof buttonVariants> {
|
||||
}
|
||||
|
||||
interface ButtonElementProps extends React.ComponentPropsWithoutRef<"button"> {}
|
||||
interface LinkElementProps
|
||||
extends React.ComponentPropsWithoutRef<typeof NextLink> {}
|
||||
interface LinkElementProps extends React.ComponentPropsWithoutRef<
|
||||
typeof NextLink
|
||||
> {}
|
||||
|
||||
export type ButtonLinkProps = ButtonBaseProps &
|
||||
LinkElementProps & { href: string }
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { classNames } from "@repo/config-tailwind/classNames"
|
||||
|
||||
export interface MainLayoutProps
|
||||
extends React.ComponentPropsWithoutRef<"main"> {
|
||||
export interface MainLayoutProps extends React.ComponentPropsWithoutRef<"main"> {
|
||||
className?: string
|
||||
center?: boolean
|
||||
}
|
||||
|
||||
@@ -4,8 +4,7 @@ import { Typography } from "../../Design/Typography/Typography.tsx"
|
||||
|
||||
export * from "./RevealFade.tsx"
|
||||
|
||||
export interface SectionProps
|
||||
extends React.ComponentPropsWithoutRef<"section"> {
|
||||
export interface SectionProps extends React.ComponentPropsWithoutRef<"section"> {
|
||||
verticalSpacing?: boolean
|
||||
horizontalSpacing?: boolean
|
||||
}
|
||||
@@ -64,8 +63,7 @@ export const SectionDescription: React.FC<SectionDescriptionProps> = (
|
||||
)
|
||||
}
|
||||
|
||||
export interface SectionContentProps
|
||||
extends React.ComponentPropsWithoutRef<"div"> {
|
||||
export interface SectionContentProps extends React.ComponentPropsWithoutRef<"div"> {
|
||||
shadowContainer?: boolean
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user