Desktop plugin development workflow
Summary: Updated docs describing workflow for creating Flipper desktop plugins Reviewed By: passy Differential Revision: D21129688 fbshipit-source-id: 68921e5d3784e3ab6b3e8397199b10101348a86a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9b99d58acc
commit
e165c2cd95
@@ -1,6 +1,6 @@
|
||||
---
|
||||
id: js-plugin-api
|
||||
title: JavaScript Plugin API
|
||||
title: Desktop Plugin API
|
||||
---
|
||||
|
||||
<div class="warning">
|
||||
@@ -9,7 +9,7 @@ This page describes the JavaScript API that is used to implement plugins inside
|
||||
|
||||
</div>
|
||||
|
||||
Provided a plugin is setup as defined in [JS Plugin Definiton](js-setup), the basic requirement of a Flipper plugin is that `index.tsx` exports a default class that extends `FlipperPlugin`.
|
||||
Provided a plugin is setup as defined in [Desktop Plugin Development](js-setup), the basic requirement of a Flipper plugin is that `index.tsx` exports a default class that extends `FlipperPlugin`.
|
||||
|
||||
`FlipperPlugin` is an extension of `React.Component` with extra Flipper-related functionality. This means to define the UI of your plugin, you just need to implement this React component.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user