@age/quantum
Version:
Catho react components
28 lines (23 loc) • 652 B
TypeScript
import React from 'react';
export interface TabbedViewProps {
fluid?: boolean;
children: React.ReactNode[] | React.ReactNode;
activeTab?: string;
skin?: 'neutral' | 'primary';
theme?: {
components?: {
tabbedView?: object;
};
baseFontSize?: number;
breakpoints?: object;
spacing?: object;
};
}
export class TabbedView extends React.Component<TabbedViewProps> {}
export interface TabProps {
title: string;
badge?: React.ReactNode;
icon?: React.ReactNode;
children: React.ReactNode[] | React.ReactNode;
}
export class Tab extends React.Component<TabProps> {}