@empirica/core
Version:
Empirica Core
22 lines (17 loc) • 618 B
TypeScript
import React from 'react';
interface ConsentProps {
title?: string;
text?: string;
buttonText?: string;
onConsent: () => void;
}
declare function Consent({ title, text, buttonText, onConsent, }: ConsentProps): JSX.Element;
interface PlayerCreateProps {
onPlayerID: (playerID: string) => void;
connecting: boolean;
}
declare function PlayerCreate({ onPlayerID, connecting }: PlayerCreateProps): JSX.Element;
declare type WithChildren<T = {}> = T & {
children?: React.ReactNode;
};
export { ConsentProps as C, PlayerCreateProps as P, WithChildren as W, Consent as a, PlayerCreate as b };