@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
37 lines (29 loc) • 887 B
TypeScript
import React from 'react';
import { CardProps } from '@mui/material';
/**
* > API documentation for the Community-JS Widget component. Learn about the available props and the CSS API.
#### Import
```jsx
import {Widget} from '@selfcommunity/react-ui';
```
#### Component Name
The name `SCWidget` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCWidget-root|Styles applied to the root element.|
*
*/
export interface WidgetProps extends CardProps {
/**
* Overrides or extends the styles applied to the component.
* @default null
*/
className?: string;
/**
* Other props
*/
[p: string]: any;
}
declare const _default: React.ForwardRefExoticComponent<Pick<WidgetProps, keyof WidgetProps> & React.RefAttributes<HTMLDivElement>>;
export default _default;