@tdurtschi/bug
Version:
Bug is a simulation that models a weevil walking around in an HTML canvas.
10 lines (9 loc) • 431 B
TypeScript
/// <reference types="react" />
import { EntityState } from "../../../core/entities/entity";
import { PlantState } from "../../../core/entities/plant/plant";
import { Indexable } from "../../Indexable";
export interface PlantFormProps {
addPlant: (initial: Partial<PlantState>) => any;
}
export declare const PlantForm: (props: PlantFormProps) => JSX.Element;
export declare function cloneState(state: Indexable): EntityState;