reablocks
Version:
Component library for React
17 lines (15 loc) • 407 B
TypeScript
import { ListTheme } from './ListTheme';
import { FC, InputHTMLAttributes, LegacyRef } from 'react';
export type ListProps = InputHTMLAttributes<HTMLDivElement> & {
/**
* Theme for the List.
*/
theme?: ListTheme;
};
export interface ListRef {
/**
* Reference to the list element.
*/
ref?: LegacyRef<HTMLDivElement>;
}
export declare const List: FC<ListProps & ListRef>;