UNPKG

@selfcommunity/react-ui

Version:

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

48 lines (43 loc) 1.24 kB
import { LiveStreamType } from '../types'; export declare const PREFIX = "SCLiveStreamSelector"; export interface LiveStreamSelectorProps { /** * Overrides or extends the styles applied to the component. * @default null */ className?: string; /** * Option selected */ liveSelected?: LiveStreamType; /** * Callback on selected option * @param LiveStreamType */ onLiveSelected?: (live: LiveStreamType) => void; /** * On success callback function * @default null */ onNext?: (live: LiveStreamType) => void; /** * Any other properties */ [p: string]: any; } /** *> API documentation for the Community-JS LiveStreamSelector component. Learn about the available props and the CSS API. * #### Import ```jsx import {LiveStreamSelector} from '@selfcommunity/react-ui'; ``` #### Component Name The name `SCLiveStreamSelector` 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.| * @param inProps */ export default function LiveStreamSelector(inProps: LiveStreamSelectorProps): JSX.Element;