@openmrs/esm-styleguide
Version:
The styleguide for OpenMRS SPA
12 lines • 704 B
TypeScript
/** @module @category UI */
import React, { type MouseEvent } from 'react';
export interface PatientBannerToggleContactDetailsButtonProps {
/** Whether the contact details are currently being displayed */
showContactDetails: boolean;
/** Function called when this button is clicked. */
toggleContactDetails: (e: MouseEvent) => void;
/** Passed through to the Carbon Button component */
className?: string;
}
export declare function PatientBannerToggleContactDetailsButton({ showContactDetails, toggleContactDetails, className, }: PatientBannerToggleContactDetailsButtonProps): React.JSX.Element;
//# sourceMappingURL=patient-banner-toggle-contact-details-button.component.d.ts.map