Socket
Book a DemoInstallSign in
Socket

@portaldx/plugin-medium-feed

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@portaldx/plugin-medium-feed

List the feed of a user on Backstage

latest
npmnpm
Version
2.0.2
Version published
Maintainers
3
Created
Source

@portaldx/plugin-medium-feed

List the feed of a user on Backstage

This plugin was created through the Backstage CLI

Requirements

  • Backstage Project;
  • Node.js v16.14.x

Use

On App.tsx:

import { MediumFeedProvider } from '@portaldx/plugin-medium-feed'

[...]

export default app.createRoot(
<AppRouter>
  <MediumFeedProvider user="your-user-here">
    [...]
  </MediumFeedProvider>
<AppRouter />
);

On routes.tsx or Root.tsx:

packages/app/src/routes.tsx

import { MediumFeedPage } from '@portaldx/plugin-medium-feed'

[...]

const routes = (
  <FlatRoutes>
    [...]
    <Route path="/medium" element={<MediumFeedPage />} />
  </FlatRoutes>
);

On HomePage.tsx or any other page:

packages/app/src/pages/HomePage.tsx

import { MediumFeedHomeWidget } from '@portaldx/plugin-medium-feed';

 [...]

 export const HomePage = () => {

    return (

    [...]
    <Grid item xs={12} md={6}>
        <MediumFeedHomeWidget />
    </Grid>
    );
 };

Developed with ❤️ by the MadeiraMadeira DX Junior Team

FAQs

Package last updated on 14 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts