Generated API snapshot
@askrjs/ui/button
Exports from the declarations published in @askrjs/ui 0.0.13. Signatures are generated from the installed artifact.
@askrjs/ui/button0.0.13
Exports
This entrypoint publishes 11 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.
Buttontype
Button: { (props: ButtonNativeProps): JSX.Element; (props: ButtonAsChildProps): JSX.Element; }BUTTON_A11Y_CONTRACTtype
BUTTON_A11Y_CONTRACT: { readonly KEYBOARD_ACTIVATION: readonly ["Enter", "Space"]; readonly ROLE: "button"; readonly DISABLED_ATTRIBUTES: { readonly native: "disabled"; readonly asChild: "aria-disabled"; }; readonly DATA_ATTRIBUTES: { readonly disabled: "data-disabled"; }; readonly FOCUS_RULES: { readonly enabled: "focusable"; readonly disabled: "not-focusable"; }; }ButtonA11yContracttype
ButtonA11yContract: anyButtonAsChildElementtype
ButtonAsChildElement: anyButtonAsChildPropstype
ButtonAsChildProps: anyButtonNativePropstype
ButtonNativeProps: anyButtonOwnPropstype
ButtonOwnProps: anyButtonPropstype
ButtonProps: anyButtonSizetype
ButtonSize: anyButtonVarianttype
ButtonVariant: anyButtonWidthtype
ButtonWidth: any