design-system-simplefi
Version:
Design System for SimpleFi Applications
16 lines (15 loc) • 518 B
TypeScript
import { Property } from 'csstype';
import React from 'react';
export interface CardProps {
width?: number | string;
height?: number | string;
justifyContent?: Property.JustifyContent;
flexWrap?: Property.FlexWrap;
flexDirection?: Property.FlexDirection;
borderRadius?: 'sm' | 'md' | 'lg';
alignItems?: Property.AlignItems;
paddingType?: 'squish' | 'square' | 'stretch';
onClick?: () => void;
style?: React.CSSProperties;
ref?: HTMLDivElement | any | null;
}