UNPKG

@selfcommunity/react-ui

Version:

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

56 lines (51 loc) 1.56 kB
import { BaseDialogProps } from '../../shared/BaseDialog'; import { EventFormProps } from '../EventForm'; import { LiveStreamFormProps } from '../LiveStreamForm'; 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; /** * Props to spread to EventForm component * @default {} */ EventFormComponentProps?: EventFormProps; /** * Props to spread to LiveStreamForm component * @default {} */ LiveStreamFormComponentProps?: LiveStreamFormProps; /** * 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;