reablocks
Version:
Component library for React
16 lines (15 loc) • 406 B
TypeScript
import { FC, InputHTMLAttributes, LegacyRef } from 'react';
import { ListTheme } from './ListTheme';
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>;