UNPKG

@selfcommunity/react-ui

Version:

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

27 lines (26 loc) 739 B
import { BoxProps } from '@mui/material'; import { ComposerContentType } from '../../../../types/composer'; export interface ContentPollProps extends Omit<BoxProps, 'value' | 'onChange'> { /** * Value of the component */ value?: ComposerContentType | null; /** * Widgets to insert into the feed * @default empty array */ error?: any; /** * All the inputs should be disabled? * @default false */ disabled?: boolean; /** * Callback for change event on poll object * @param value * @default empty object */ onChange: (value: ComposerContentType) => void; } declare const _default: (inProps: ContentPollProps) => JSX.Element; export default _default;