Skip to main content

Interface: InlineComposerWidgetProps

InlineComposerWidget.InlineComposerWidgetProps

Hierarchy

  • Omit<WidgetProps, "defaultValue">

    InlineComposerWidgetProps

Properties

defaultValue

Optional defaultValue: Object

Initialization Data for the Composer, this is a hook to generate custom posts

Default

null

Type declaration

NameType
addressing?SCTagType[]
audience?string
categories?SCCategoryType[]
location?string
medias?SCMediaType[]
poll?SCPollType
text?string
title?string

Defined in

packages/react-ui/src/components/InlineComposerWidget/InlineComposerWidget.tsx:47


mediaObjectTypes

Optional mediaObjectTypes: SCMediaObjectType[]

Media objects available

Default

Image, Document, Link

Defined in

packages/react-ui/src/components/InlineComposerWidget/InlineComposerWidget.tsx:42


onSuccess

Optional onSuccess: (res: any) => void

Type declaration

▸ (res): void

Callback triggered on success contribution creation

Parameters
NameType
resany
Returns

void

Default

null

Defined in

packages/react-ui/src/components/InlineComposerWidget/InlineComposerWidget.tsx:61