ar-design
Version:
AR Design is a (react | nextjs) ui library.
28 lines (27 loc) • 807 B
TypeScript
import { Dispatch, JSX, SetStateAction } from "react";
import { Config } from "../IProps";
interface IProps<T extends object> {
states: {
selectFilters: {
get: {
[key: string]: (string | null)[];
};
set: Dispatch<SetStateAction<{
[key: string]: (string | null)[];
}>>;
};
selectedFilters: {
get: Record<string, Set<string | null>>;
set: Dispatch<SetStateAction<Record<string, Set<string | 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;