@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
39 lines (34 loc) • 1.11 kB
TypeScript
import { ConsentSolutionProps } from '../ConsentSolution';
import { ButtonProps } from '@mui/material/Button/Button';
export interface ConsentSolutionButtonProps extends ButtonProps {
/**
* Overrides or extends the styles applied to the component.
* @default null
*/
className?: string;
/**
* Props to spread to ConsentSolution component
* @default empty object
*/
ConsentSolutionProps?: ConsentSolutionProps;
/**
* Any other properties
*/
[p: string]: any;
}
/**
*> API documentation for the Community-JS ConsentSolutionButton component. Learn about the available props and the CSS API.
*
#### Import
```jsx
import {ConsentSolutionButton} from '@selfcommunity/react-ui';
```
#### Component Name
The name `SCConsentSolutionButton` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCConsentSolution-root|Styles applied to the root element.|
* @param inProps
*/
export default function ConsentSolutionButton(inProps: ConsentSolutionButtonProps): JSX.Element;