geostyler
Version:
Framework for styling geodata
9 lines (8 loc) • 361 B
TypeScript
import { default as React } from 'react';
export interface SelectableItemProps extends React.PropsWithChildren {
/** The callback that is being called, when the item was clicked. */
onItemClick?: () => void;
/** Whether the item is currently selected. */
selected?: boolean;
}
export declare const SelectableItem: React.FC<SelectableItemProps>;