rinlab
Version:
A comprehensive React component library for Solana blockchain interfaces with a nostalgic retro-computing aesthetic
97 lines (82 loc) • 4.8 kB
text/typescript
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
import * as React from 'react';
import React__default from 'react';
import { VariantProps } from 'class-variance-authority';
import * as react_jsx_runtime from 'react/jsx-runtime';
import { ClassValue } from 'clsx';
declare const buttonVariants: (props?: ({
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "retro" | null | undefined;
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
}
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
declare function ThemeSwitcher(): react_jsx_runtime.JSX.Element;
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
declare const textVariants: (props?: ({
variant?: "default" | "heading" | "subheading" | "label" | "code" | "terminal" | "error" | null | undefined;
size?: "sm" | "lg" | "xs" | "base" | "xl" | "2xl" | null | undefined;
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
interface TextProps extends React.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof textVariants> {
}
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLParagraphElement>>;
interface GridProps extends React__default.HTMLAttributes<HTMLDivElement> {
children: React__default.ReactNode;
cols?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
gap?: 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16;
}
declare function Grid({ children, cols, gap, className, ...props }: GridProps): react_jsx_runtime.JSX.Element;
interface StackProps extends React__default.HTMLAttributes<HTMLDivElement> {
children: React__default.ReactNode;
gap?: number;
direction?: 'row' | 'column';
}
declare function Stack({ children, gap, direction, className, ...props }: StackProps): react_jsx_runtime.JSX.Element;
interface TerminalContainerProps {
children: React__default.ReactNode;
className?: string;
title?: string;
}
declare function TerminalContainer({ children, className, title }: TerminalContainerProps): react_jsx_runtime.JSX.Element;
interface ASCIINFTGalleryProps {
className?: string;
}
declare function ASCIINFTGallery({ className }: ASCIINFTGalleryProps): react_jsx_runtime.JSX.Element;
interface PumpFunScreenerProps {
className?: string;
}
declare function PumpFunScreener({ className }: PumpFunScreenerProps): react_jsx_runtime.JSX.Element;
interface Node {
id: string;
connections: string[];
activity: number;
latency: number;
region: string;
status: 'active' | 'syncing' | 'offline';
}
interface NetworkTopologyProps {
nodes?: Node[];
width?: number;
height?: number;
className?: string;
}
declare function NetworkTopology({ nodes, width, height, className }: NetworkTopologyProps): react_jsx_runtime.JSX.Element;
interface WalletConnectAnimationProps {
status: 'disconnected' | 'connecting' | 'connected' | 'error';
onConnect?: () => void;
className?: string;
}
declare function WalletConnectAnimation({ status, onConnect, className }: WalletConnectAnimationProps): react_jsx_runtime.JSX.Element;
interface ContributionLeaderboardProps {
className?: string;
}
declare function ContributionLeaderboard({ className }: ContributionLeaderboardProps): react_jsx_runtime.JSX.Element;
declare function cn(...inputs: ClassValue[]): string;
declare const isClient: boolean;
declare const isDev: boolean;
export { ASCIINFTGallery, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ContributionLeaderboard, Grid, NetworkTopology, PumpFunScreener, Stack, TerminalContainer, Text, type TextProps, ThemeSwitcher, WalletConnectAnimation, buttonVariants, cn, isClient, isDev, textVariants };