@vimeo/iris
Version:
Vimeo Design System
27 lines (26 loc) • 695 B
TypeScript
/// <reference types="react" />
import { MinorComponent } from '../../utils';
export interface Minors {
Section: MinorComponent<any>;
Item: MinorComponent<any>;
}
export declare function Section({ children, title, ...props }: {
[x: string]: any;
children: any;
title?: any;
}): JSX.Element;
export declare function Item({ action, active, children, href, toggle, icon,
/** Function called if item is toggled open */
onOpen,
/** Function called if item is toggled close */
onClose, ...props }: {
[x: string]: any;
action: any;
active: any;
children: any;
href: any;
toggle?: boolean;
icon: any;
onOpen: any;
onClose: any;
}): JSX.Element;