Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 461 Bytes

index.md

File metadata and controls

21 lines (16 loc) · 461 Bytes

react-embed

Demo


:::tip react-embed @widgetbot/react-embed provides access to the embed as a React component. It provides syntactical sugar for the embed-api, with 100% type safety (using TypeScript). :::

import WidgetBot from '@widgetbot/react-embed'

const App = () => (
  <WidgetBot
    server="299881420891881473"
    channel="355719584830980096"
  />
)

export default App