UNPKG

goobs-frontend

Version:

A comprehensive React-based libary for building modern web applications

58 lines 1.99 kB
import { default as React } from 'react'; export interface CardProps extends React.HTMLAttributes<HTMLDivElement> { children: React.ReactNode; styles?: { disabled?: boolean; theme?: string; width?: string; height?: string; padding?: string; contentPadding?: string; borderRadius?: string; backgroundColor?: string; border?: string; marginBottom?: string; marginTop?: string; borderColor?: string; borderWidth?: string; borderStyle?: string; }; elevation?: number; } export interface CardContentProps extends React.HTMLAttributes<HTMLDivElement> { children: React.ReactNode; styles?: { theme?: string; padding?: string; contentPadding?: string; color?: string; }; } export interface CardActionsProps extends React.HTMLAttributes<HTMLDivElement> { children: React.ReactNode; styles?: { theme?: string; padding?: string; justifyContent?: string; gap?: string; }; } export interface CardHeaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'title'> { children?: React.ReactNode; title?: string; subtitle?: string; action?: React.ReactNode; avatar?: React.ReactNode; styles?: { theme?: string; padding?: string; titleColor?: string; subtitleColor?: string; }; } export declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>; export declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLDivElement>>; export declare const CardActions: React.ForwardRefExoticComponent<CardActionsProps & React.RefAttributes<HTMLDivElement>>; export declare const CardHeader: React.ForwardRefExoticComponent<CardHeaderProps & React.RefAttributes<HTMLDivElement>>; export default Card; //# sourceMappingURL=index.d.ts.map