UNPKG

@open-tender/ui

Version:

A component library for use with the Open Tender web app

11 lines (10 loc) 342 B
import React, { ReactNode } from 'react'; import { ScreenConfig } from '../types'; export type CardSize = 'SMALL' | 'MEDIUM' | 'LARGE'; export interface CardProps { config: ScreenConfig; children: ReactNode; size?: CardSize; } declare const Card: ({ config, children, size }: CardProps) => React.JSX.Element; export default Card;