@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
48 lines (43 loc) • 1.45 kB
TypeScript
import { BoxProps } from '@mui/material';
import { SCLiveStreamSettingsType } from '@selfcommunity/types';
export declare const PREFIX = "SCLiveStreamFormSettings";
export interface LiveStreamFormSettingsProps extends BoxProps {
/**
* Overrides or extends the styles applied to the component.
* @default null
*/
className?: string;
/**
* Event Object
* @default null
*/
settings?: SCLiveStreamSettingsType;
/**
* onChange callback
* @param data
*/
onChange?: (data: any) => void;
/**
* Any other properties
*/
[p: string]: any;
}
/**
*> API documentation for the Community-JS LiveStreamSettingsForm component. Learn about the available props and the CSS API.
*
#### Import
```jsx
import {LiveStreamSettingsForm} from '@selfcommunity/react-ui';
```
#### Component Name
The name `LiveStreamSettingsForm` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCLiveStreamForm-root|Styles applied to the root element.|
|switch|.SCLiveStreamForm-switch|Styles applied to the switch element.|
|switchLabel|.SCLiveStreamForm-switch-label|Styles applied to the switchLabel element.|
|accessView|.SCLiveStreamForm-access-view|Styles applied to the access view.|
* @param inProps
*/
export default function LiveStreamSettingsForm(inProps: LiveStreamFormSettingsProps): JSX.Element;