UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

50 lines (45 loc) 1.4 kB
import { SCEventType, SCLiveStreamType } from '@selfcommunity/types'; import { BaseDialogProps } from '../../shared/BaseDialog'; export interface CreateLiveStreamDialogProps extends BaseDialogProps { /** * Overrides or extends the styles applied to the component. * @default null */ className?: string; /** * Open dialog * @default true */ open?: boolean; /** * On dialog close callback function * @default null */ onClose?: () => void; /** * On success callback function * @default null */ onSuccess?: (data: SCEventType | SCLiveStreamType) => void; /** * Any other properties */ [p: string]: any; } /** *> API documentation for the Community-JS CreateLiveStreamDialog component. Learn about the available props and the CSS API. * #### Import ```jsx import {CreateLivestreamDialog} from '@selfcommunity/react-ui'; ``` #### Component Name The name `SCCreateLivestreamDialog` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SCCreateLivestreamDialog-root|Styles applied to the root element.| |content|.SCCreateLivestreamDialog-content|Styles applied to the content element.| * @param inProps */ export default function CreateLiveStreamDialog(inProps: CreateLiveStreamDialogProps): JSX.Element;