UNPKG

strivui

Version:

Type-safe, composable React UI toolkit with accessible, theme-aware components, design tokens, and tree-shakable architecture for scalable, maintainable applications.

29 lines (28 loc) 2.55 kB
import { ReactNode, ButtonHTMLAttributes, InputHTMLAttributes, AnchorHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, HTMLAttributes } from 'react'; type WithChildren<T> = T & { children?: ReactNode; }; type ButtonProps = WithChildren<ButtonHTMLAttributes<HTMLButtonElement>>; declare const Button: ({ children, className, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element; type InputProps = InputHTMLAttributes<HTMLInputElement>; declare const Input: ({ className, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element; type LinkProps = WithChildren<AnchorHTMLAttributes<HTMLAnchorElement>>; declare const Link: ({ children, className, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element; type TextAreaProps = WithChildren<TextareaHTMLAttributes<HTMLTextAreaElement>>; declare const TextArea: ({ children, className, ...props }: TextAreaProps) => import("react/jsx-runtime").JSX.Element; type SelectProps = WithChildren<SelectHTMLAttributes<HTMLSelectElement>>; declare const Select: ({ children, className, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element; type ViewProps = WithChildren<HTMLAttributes<HTMLDivElement>>; declare const View: ({ children, className, ...props }: ViewProps) => import("react/jsx-runtime").JSX.Element; type TextProps = WithChildren<HTMLAttributes<HTMLSpanElement>>; declare const Text: ({ children, className, ...props }: TextProps) => import("react/jsx-runtime").JSX.Element; declare const Label: ({ children, className, ...props }: TextProps) => import("react/jsx-runtime").JSX.Element; declare const Span: ({ children, className, ...props }: TextProps) => import("react/jsx-runtime").JSX.Element; type HeadingProps = WithChildren<HTMLAttributes<HTMLHeadingElement>>; declare const H1: ({ children, className, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element; declare const H2: ({ children, className, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element; declare const H3: ({ children, className, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element; declare const H4: ({ children, className, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element; declare const H5: ({ children, className, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element; declare const H6: ({ children, className, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element; export { Button, Input, Link, TextArea, Select, View, Text, H1, H2, H3, H4, H5, H6, Label, Span };