@mindly/ui-components 3.2.0 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ import { ILocalAudioTrack, ILocalVideoTrack, IRemoteAudioTrack, IRemoteVideoTrack } from 'agora-rtc-sdk-ng';
3
+ export declare type MediaPlayerProps = {
4
+ videoContainer?: React.RefObject<HTMLDivElement>;
5
+ cameraTrack?: ILocalVideoTrack;
6
+ audioTrack?: ILocalAudioTrack;
7
+ remoteAudioTrack?: IRemoteAudioTrack;
8
+ remoteCameraTrack?: IRemoteVideoTrack;
9
+ } & HTMLAttributes<HTMLDivElement>;
10
+ declare const AgoraMediaPlayer: React.FC<MediaPlayerProps>;
11
+ export default AgoraMediaPlayer;
@@ -0,0 +1,6 @@
1
+ declare type StyledMediaPlayerContainerPropsType = {
2
+ width?: number;
3
+ height?: number;
4
+ };
5
+ export declare const StyledMediaPlayerContainer: import("styled-components").StyledComponent<"div", any, StyledMediaPlayerContainerPropsType, never>;
6
+ export {};
@@ -1,3 +1,7 @@
1
- import { FC } from 'react';
2
- declare const Container: FC;
1
+ import { CSSProperties, FC } from 'react';
2
+ declare type ContainerProps = {
3
+ style?: CSSProperties;
4
+ className?: string;
5
+ };
6
+ declare const Container: FC<ContainerProps>;
3
7
  export default Container;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ declare type RoundButtonPropsType = {
3
+ disabled?: boolean;
4
+ onClickHandler?: () => void;
5
+ buttonText?: string;
6
+ buttonIcon?: string;
7
+ buttonType?: 'transparent' | 'fullFill' | 'reject';
8
+ dimension?: number;
9
+ };
10
+ declare const RoundButton: React.FC<RoundButtonPropsType>;
11
+ export default RoundButton;
@@ -0,0 +1,9 @@
1
+ export declare const StyledRoundButtonContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const StyledRoundButtonText: import("styled-components").StyledComponent<"p", any, {}, never>;
3
+ declare type StyledControlPanelButtonPropsType = {
4
+ buttonType?: 'transparent' | 'fullFill' | 'reject';
5
+ disabled?: boolean;
6
+ dimension?: number;
7
+ };
8
+ export declare const StyledRoundButton: import("styled-components").StyledComponent<"button", any, StyledControlPanelButtonPropsType, never>;
9
+ export {};
@@ -0,0 +1,7 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ declare type StatusTagPropsType = {
3
+ dimension?: number;
4
+ tagColor?: string;
5
+ } & HTMLAttributes<HTMLDivElement>;
6
+ declare const StatusTag: React.FC<StatusTagPropsType>;
7
+ export default StatusTag;
@@ -0,0 +1,6 @@
1
+ declare type StatusTagContainerPropsType = {
2
+ dimension?: number;
3
+ tagColor?: string;
4
+ };
5
+ export declare const StatusTagContainer: import("styled-components").StyledComponent<"div", any, StatusTagContainerPropsType, never>;
6
+ export {};