Change Cover
The Change Cover component renders a button that allows users to edit their profile cover and an help popover that
specifies format and sizes allowed.
Usage
import React from 'react';
import {SCContextProvider} from '@selfcommunity/react-core';
import {ChangeCover} 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}><ChangeCover /></SCContextProvider>
);
}