Skip to content

Commit

Permalink
fix: fix performance test for ButtonNext (#17573)
Browse files Browse the repository at this point in the history
  • Loading branch information
layershifter authored Mar 25, 2021
1 parent 3d18871 commit 0913259
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/perf-test/src/scenarios/ButtonNext.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import * as React from 'react';
import { Button } from '@fluentui/react-button';
import { FluentProvider } from '@fluentui/react-provider';
import { webLightTheme } from '@fluentui/react-theme';

const Scenario = () => <Button>I am a button</Button>;

Scenario.decorator = (props: { children: React.ReactNode }) => (
<FluentProvider theme={webLightTheme}>{props.children}</FluentProvider>
);

export default Scenario;

0 comments on commit 0913259

Please sign in to comment.