@duffel/components
Version:
Component library to build your travel product with Duffel.
15 lines (14 loc) • 386 B
TypeScript
import { IconName } from "@components/shared/Icon";
import * as React from "react";
export interface CardProps {
buttonTitle: string;
title: string;
icon: IconName;
onClick?: (() => void) | null;
children: React.ReactNode;
copy: string;
isLoading?: boolean;
disabled?: boolean;
isSelected?: boolean;
}
export declare const Card: React.FC<CardProps>;