Function MeetingProgressTimer

MeetingProgressTimer component displays a timer indicating the progress of a meeting.

This component renders a customizable timer with options for background color, position, and styling. It can be positioned in any corner of the screen and shows the meeting's progress time.

import React from 'react';
import { MeetingProgressTimer } from 'mediasfu-reactjs';

function App() {
return (
<MeetingProgressTimer
meetingProgressTime="10:00"
initialBackgroundColor="green"
position="topLeft"
textStyle={{ fontSize: 16 }}
showTimer={true}
/>
);
}

export default App;

Properties

propTypes?: any

Ignored by React.

Only kept in types for backwards compatibility. Will be removed in a future major release.

displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.


const MyComponent: FC = () => {
return <div>Hello!</div>
}

MyComponent.displayName = 'MyAwesomeComponent'