@nodeject/ui-components
Version:
UI library for non-trivial components
9 lines (8 loc) • 324 B
TypeScript
import * as React from 'react';
import { TodoItem } from './dtos';
export interface TodoItemProps extends TodoItem {
deleteTodoItem: (id: string) => void;
renameTodoItem: (id: string, title: string) => void;
toggleTodo: (id: string) => void;
}
export declare const TodoListItem: React.FC<TodoItemProps>;