mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-13 02:22:30 +00:00
* Make Jitsi WCAG 2.1 compliant * Fixed password form keypress handling * Added keypress handler to name form * Removed unneccessary dom query * Fixed mouse hove style * Removed obsolete css rules * accessibilty background feature * Merge remote-tracking branch 'upstream/master' into nic/fix/merge-conflicts * fix error * add german translation * Fixed merge issue * Add id prop back to device selection * Fixed lockfile Co-authored-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com>
35 lines
657 B
JavaScript
35 lines
657 B
JavaScript
// @flow
|
|
|
|
import React from 'react';
|
|
|
|
type Props = {
|
|
|
|
/**
|
|
* Click handler for the button.
|
|
*/
|
|
onClick: Function,
|
|
|
|
/**
|
|
* keypress handler for the button.
|
|
*/
|
|
onKeyPress: Function,
|
|
};
|
|
|
|
/**
|
|
* React {@code Component} representing an button used for testing output sound.
|
|
*
|
|
* @returns { ReactElement}
|
|
*/
|
|
export default function TestButton({ onClick, onKeyPress }: Props) {
|
|
return (
|
|
<div
|
|
className = 'audio-preview-test-button'
|
|
onClick = { onClick }
|
|
onKeyPress = { onKeyPress }
|
|
role = 'button'
|
|
tabIndex = { 0 }>
|
|
Test
|
|
</div>
|
|
);
|
|
}
|