diff --git a/desktop/pkg/templates/plugin/src/index.tsx.template b/desktop/pkg/templates/plugin/src/index.tsx.template index cf1abed5e..3b20dcfe8 100644 --- a/desktop/pkg/templates/plugin/src/index.tsx.template +++ b/desktop/pkg/templates/plugin/src/index.tsx.template @@ -1,5 +1,5 @@ import React from 'react'; -import {FlipperPlugin, FlexColumn, KeyboardActions} from 'flipper'; +import {FlipperPlugin, View, KeyboardActions} from 'flipper'; type State = {}; @@ -37,11 +37,11 @@ export default class extends FlipperPlugin { render() { return ( - + {this.props.persistedState.data.map((d) => ( -
{d}
+
{JSON.stringify(d, null, 2)}
))} -
- ); + + ) } }