UNPKG

@arcadedefi/arcade-uikit

Version:

Set of UI components for pancake projects

23 lines (22 loc) 635 B
import { HTMLAttributes } from "react"; import { SpaceProps } from "styled-system"; import { Colors } from "../../theme/types"; export interface CardRibbonProps { variantColor?: keyof Colors; text: string; } export declare type CardTheme = { background: string; boxShadow: string; boxShadowActive: string; boxShadowSuccess: string; boxShadowWarning: string; cardHeaderBackground: string; }; export interface CardProps extends SpaceProps, HTMLAttributes<HTMLDivElement> { isActive?: boolean; isSuccess?: boolean; isWarning?: boolean; isDisabled?: boolean; ribbon?: React.ReactNode; }