@react-querybuilder/chakra
Version:
Custom Chakra UI components for react-querybuilder
13 lines (12 loc) • 672 B
text/typescript
import { Button } from "@chakra-ui/react";
import type { ComponentPropsWithoutRef } from "react";
import * as React from "react";
import type { ActionWithRulesProps } from "react-querybuilder";
/**
* @group Props
*/
export interface ChakraActionProps extends ActionWithRulesProps, ComponentPropsWithoutRef<typeof Button> {}
/**
* @group Components
*/
export declare const ChakraActionElement: ({ className, handleOnClick, label, title, disabled, disabledTranslation, testID: _testID, rules: _rules, level: _level, path: _path, context: _context, validation: _validation, ruleOrGroup: _ruleOrGroup, schema: _schema,...extraProps }: ChakraActionProps) => React.JSX.Element;