@project-jade-garden/bits-ui
Version:
Bits UI anatomy slots for headless design
22 lines (21 loc) • 841 B
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Button**
* @description A component that if passed a `href` prop will render an anchor element instead of a button element.
* @see [source](https://www.bits-ui.com/docs/components/button#api-reference)
*/
export declare const slots: readonly ["root"];
/**
* **Button**
* @description A component that if passed a `href` prop will render an anchor element instead of a button element.
* @see [source](https://www.bits-ui.com/docs/components/button#api-reference)
*/
export type Slots = (typeof slots)[number];
/**
* **Button**
* @description A component that if passed a `href` prop will render an anchor element instead of a button element.
* @see [source](https://www.bits-ui.com/docs/components/button#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {};
}>;