import { type ToggleButtonProps as RACToggleButtonProps } from 'react-aria-components'; import type { BaseButtonProps } from '../button/types.js'; import type { AriaLabelingProps, CommonProps } from '../types.js'; export interface BaseToggleButtonProps extends Omit, AriaLabelingProps, Pick, Pick { /** * The `
` element to associate the input with. * The value of this attribute must be the id of a `` in the same document. * See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#form). */ form?: string; /** * The name of the input element, used when submitting an HTML form. * See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name). */ name?: string; /** * The value of the input element, used when submitting an HTML form. * See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#value). * * When used in a `ToggleButtonGroup`, `value` serves as an identifier for this button, and has to be unique across all buttons in the group. */ value?: string; } //# sourceMappingURL=internal-toggle-button.d.ts.map