User Profile Edit
The User Profile Edit component renders a card composed of two forms that allow users to edit their public information and notification settings.
Usage
import React from 'react';
import {SCContextProvider} from '@selfcommunity/react-core';
import {UserProfileEdit} 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}><UserProfileEdit /></SCContextProvider>
);
}