@sabaki/shudan
Version:
A highly customizable, low-level Preact Goban component.
15 lines (10 loc) • 362 B
TypeScript
import type { ComponentClass } from "preact";
import type { GobanProps } from "./Goban";
export type BoundedGobanProps = Omit<GobanProps, "vertexSize"> & {
maxWidth: number;
maxHeight: number;
maxVertexSize?: number;
onResized?: () => void;
};
declare const BoundedGoban: ComponentClass<BoundedGobanProps>;
export default BoundedGoban;