mirror of
https://github.com/lux-tel/websites.git
synced 2026-10-30 20:31:36 +00:00
11 lines
341 B
TypeScript
11 lines
341 B
TypeScript
import { DataTestIdTag, GenericDataTestId } from './ids';
|
|
|
|
/**
|
|
* The generic testing props for a React component.
|
|
* @template DataTestId - The type of the data test ID.
|
|
*/
|
|
export type GenericTestingProps<DataTestId extends DataTestIdTag> = {
|
|
/** The data test ID for the component. */
|
|
'data-testid': GenericDataTestId<DataTestId>;
|
|
};
|