UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

27 lines 846 B
import { ButtonProps } from '@mui/material'; export type QueryCountButtonProps = { /** * The SQL query to execute to get the count */ sql: string; /** * The target URL when the button is clicked */ href: string; /** * Text to display before the count (e.g., "Explore") */ prefixText?: string; /** * Text to display after the count (e.g., "files") */ suffixText?: string; } & Omit<ButtonProps, 'children'>; /** * A button component that displays text with an inline count. * The count is fetched by executing a SQL query against a Synapse table. * Example: "Explore 42 files" */ export declare function QueryCountButton(props: QueryCountButtonProps): import("react/jsx-runtime").JSX.Element; export default QueryCountButton; //# sourceMappingURL=QueryCountButton.d.ts.map