UNPKG

@hypothesis/frontend-shared

Version:

Shared components, styles and utilities for Hypothesis projects

13 lines (12 loc) 593 B
/** * @typedef {import('../../types').PresentationalProps} CommonProps * @typedef {import('./ButtonBase').ButtonCommonProps} ButtonCommonProps */ /** * Render a button with common attributes but no styling * * @param {CommonProps & ButtonCommonProps} props */ export default function ButtonUnstyled({ children, classes, elementRef, expanded, pressed, title, ...htmlAttributes }: CommonProps & ButtonCommonProps): import("preact").JSX.Element; export type CommonProps = import('../../types').PresentationalProps; export type ButtonCommonProps = import('./ButtonBase').ButtonCommonProps;