- WithTable<TColumns, TQuerySchema, TSchema>(__namedParameters): Element
Type Parameters
- TColumns extends string
- TQuerySchema extends QuerySchema<ZodObject<{
id: ZodOptional<ZodNullable<ZodString>>;
idIn: ZodOptional<ZodNullable<ZodArray<ZodString, "many">>>;
fulltext: ZodOptional<ZodNullable<ZodString>>;
}, "strip", ZodTypeAny, {
id?: null | string;
idIn?: null | string[];
fulltext?: null | string;
}, {
id?: null | string;
idIn?: null | string[];
fulltext?: null | string;
}>, OrderBySchema> - TSchema extends ZodObject<{
id: ZodString;
}, "strip", ZodTypeAny, {
id: string;
}, {
id: string;
}>
Returns Element
This component is a wrapper around Table component that provides query store and default query values.
It's basically the same as a Table component wrapped by QueryStore.Provider.