This commit is contained in:
2025-12-11 00:57:32 +01:00
parent 1303a14493
commit 6a427eab57
112 changed files with 6148 additions and 2272 deletions

View File

@@ -1,4 +1,4 @@
import { ButtonHTMLAttributes, AnchorHTMLAttributes, ReactNode } from 'react';
import React, { ButtonHTMLAttributes, AnchorHTMLAttributes, ReactNode } from 'react';
type ButtonAsButton = ButtonHTMLAttributes<HTMLButtonElement> & {
as?: 'button';

View File

@@ -1,4 +1,4 @@
import { ReactNode, MouseEventHandler } from 'react';
import React, { ReactNode, MouseEventHandler } from 'react';
interface CardProps {
children: ReactNode;

View File

@@ -1,4 +1,4 @@
import { ReactNode } from 'react';
import React, { ReactNode } from 'react';
interface ContainerProps {
size?: 'sm' | 'md' | 'lg' | 'xl';

View File

@@ -1,4 +1,4 @@
import { ReactNode } from 'react';
import React, { ReactNode } from 'react';
interface HeadingProps {
level: 1 | 2 | 3;

View File

@@ -1,4 +1,4 @@
import { InputHTMLAttributes, ReactNode } from 'react';
import React, { InputHTMLAttributes, ReactNode } from 'react';
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
error?: boolean;

View File

@@ -1,6 +1,6 @@
'use client';
import { useCallback, useRef, useState, useEffect } from 'react';
import React, { useCallback, useRef, useState, useEffect } from 'react';
interface RangeFieldProps {
label: string;

View File

@@ -1,4 +1,4 @@
import { ReactNode } from 'react';
import React, { ReactNode } from 'react';
interface SectionProps {
variant?: 'default' | 'dark' | 'light';