accessibility-react-widget
Version:
A React-based web accessibility widget to enhance UI/UX for all users. This powerful tool seamlessly integrates with React applications, offering a wide range of features like adjustable font sizes, text alignment options, dyslexia-friendly fonts, and col
24 lines (23 loc) • 599 B
TypeScript
import { FC, ReactNode } from "react";
import { IconSvgComponent } from "../../../types";
interface AccButtonProps {
Icon: IconSvgComponent;
isToggled?: boolean;
isActive?: boolean;
children?: ReactNode;
onToggle?: () => void;
titleTranslationKey: string;
elementType?: string;
title?: string;
stats?: number | string;
styleIcon?: {
[x: string]: unknown;
};
styleTitle?: {
[x: string]: unknown;
};
className?: string;
tooltipTranslationKey?: string;
}
declare const AccButton: FC<AccButtonProps>;
export default AccButton;