Skip to content

Commit

Permalink
fix(demos): use blueprintjs in federation demo
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable committed Jun 23, 2021
1 parent 3937225 commit 7d914b8
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions packages/demos/src/module-loader-federation/feature-app.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
import {Card, Text} from '@blueprintjs/core';
import {FeatureAppDefinition} from '@feature-hub/core';
import {ReactFeatureApp} from '@feature-hub/react';
import * as React from 'react';

const featureAppDefinition: FeatureAppDefinition<ReactFeatureApp> = {
dependencies: {
externals: {},
},

create: () => ({
render: () => (
<h3 style={{margin: '20px'}}>
<span>Hello, World!</span>
</h3>
<Card style={{margin: '20px'}}>
<Text>Hello, World!</Text>
</Card>
),
}),
};
Expand Down

0 comments on commit 7d914b8

Please sign in to comment.