@krowdy-ui/views
Version:
React components that implement Google's Material Design.
24 lines (21 loc) • 483 B
TypeScript
type List = {
_id: string,
icon?: React.ReactNode;
src?: string;
subtitle? : string;
title?: string;
}
export type ListInfoProps = {
classes?: {
header?: string;
container?: string;
list?: string;
};
header?: React.ReactNode;
hover?: boolean;
list?: List[],
selectedId?: string;
onChange?: (id: string) => (e: React.ChangeEvent<HTMLInputElement>) => void;
}
declare const ListInfo: React.ComponentType<ListInfoProps>;
export default ListInfo;