22 lines
343 B
TypeScript
22 lines
343 B
TypeScript
import { JSX } from "solid-js";
|
|
|
|
export type Stylable = {
|
|
class?: string;
|
|
style?: JSX.CSSProperties;
|
|
};
|
|
|
|
export type Clickable = {
|
|
onClick?:
|
|
| JSX.EventHandlerUnion<
|
|
HTMLDivElement,
|
|
MouseEvent,
|
|
JSX.EventHandler<HTMLDivElement, MouseEvent>
|
|
>
|
|
| undefined;
|
|
};
|
|
|
|
export type Sizable = {
|
|
width?: string;
|
|
height?: string;
|
|
};
|