ar-design
Version:
AR Design is a (react | nextjs) ui library.
26 lines (25 loc) • 703 B
TypeScript
import { Dispatch, JSX, SetStateAction } from "react";
import { Config } from "../IProps";
interface IProps<T extends object> {
states: {
dateFilters: {
get: Record<string, {
from: Date | null;
to: Date | null;
}>;
set: Dispatch<SetStateAction<Record<string, {
from: Date | null;
to: Date | null;
}>>>;
};
openName: {
get: string | null;
};
};
methods: {
open: (name: string | null) => void;
};
config?: Config<T>;
}
declare const _default: <T extends object>(props: IProps<T>) => JSX.Element;
export default _default;