Skip to main content

Inline Composer

The Inline Composer component renders the section used for feed objects creation. Through this component users are able to create their contents

Usage

 import React from 'react';
import {SCContextProvider} from '@selfcommunity/react-core';
import {InlineComposerWidget} from '@selfcommunity/react-ui';

function App() {
const conf = {
portal: '<community-path>',
session: {
type: 'OAuth',
token: '<community-token>',
refreshToken: '<community-refresh-token>',
refreshTokenEndpoint: '<community-refresh-endpoint>',
},
};
return (
<SCContextProvider conf={conf}><InlineComposerWidget /></SCContextProvider>
);
}