@open-tender/ui
Version:
A component library for use with the Open Tender web app
14 lines (13 loc) • 459 B
TypeScript
import React from 'react';
import { Handlers, ScreenConfig } from '../types';
export interface AccountSectionProps {
config: ScreenConfig;
handlers: Handlers;
children: React.ReactNode;
hasMore: boolean;
title: string;
subtitle?: string;
type: 'rewards' | 'orders';
}
declare const AccountSection: ({ config, handlers, children, hasMore, title, subtitle }: AccountSectionProps) => React.JSX.Element;
export default AccountSection;