Skip to content

Commit

Permalink
Add dropdown to StrictDomDemo
Browse files Browse the repository at this point in the history
  • Loading branch information
behowell committed Apr 6, 2024
1 parent 31f8b31 commit cc2ca02
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/xplat-v9/StrictDomDemo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from 'react';

import { Label } from '@fluentui/react-label';
import { Dropdown, Option } from '@fluentui/react-combobox';
import { mergeClasses, makeStyles, shorthands } from '@fluentui/react-platform-adapter-preview';
import { FluentProvider } from '@fluentui/react-provider';
import { tokens, webLightTheme } from '@fluentui/react-theme';
Expand All @@ -24,6 +25,12 @@ export const StrictDomDemo = () => {
return (
<FluentProvider theme={webLightTheme} className={mergeClasses(classNames.root)}>
<Label required>Label</Label>
<h1>Dropdown</h1>
<Dropdown inlinePopup>
<Option>Option 1</Option>
<Option>Option 2</Option>
<Option>Option 3</Option>
</Dropdown>
<ButtonStories />
</FluentProvider>
);
Expand Down
1 change: 1 addition & 0 deletions apps/xplat-v9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"dependencies": {
"@fluentui/react-button": "*",
"@fluentui/react-combobox": "*",
"@fluentui/react-jsx-runtime": "*",
"@fluentui/react-label": "*",
"@fluentui/react-platform-adapter-preview": "*",
Expand Down

0 comments on commit cc2ca02

Please sign in to comment.