diff --git a/apps/vr-tests-react-components/package.json b/apps/vr-tests-react-components/package.json index 1d8539ff652875..dfec01568ca74d 100644 --- a/apps/vr-tests-react-components/package.json +++ b/apps/vr-tests-react-components/package.json @@ -24,6 +24,7 @@ "@fluentui/react-card": "9.0.0-beta.24", "@fluentui/react-checkbox": "^9.0.4", "@fluentui/react-divider": "^9.0.4", + "@fluentui/react-field": "9.0.0-alpha.0", "@fluentui/react-icons": "^2.0.175", "@fluentui/react-image": "^9.0.4", "@fluentui/react-input": "^9.0.4", diff --git a/apps/vr-tests-react-components/src/stories/Field.stories.tsx b/apps/vr-tests-react-components/src/stories/Field.stories.tsx new file mode 100644 index 00000000000000..827ba779dda754 --- /dev/null +++ b/apps/vr-tests-react-components/src/stories/Field.stories.tsx @@ -0,0 +1,98 @@ +import * as React from 'react'; +import Screener, { Steps } from 'screener-storybook/src/screener'; +import { storiesOf } from '@storybook/react'; +import { Radio } from '@fluentui/react-radio'; +import { + CheckboxField, + ComboboxField, + InputField, + InputFieldProps, + RadioGroupField, + SelectField, + SliderField, + SpinButtonField, + SwitchField, + TextareaField, +} from '@fluentui/react-field'; +import { SparkleFilled } from '@fluentui/react-icons'; + +const AllFields = ( + props: Pick< + InputFieldProps, + 'orientation' | 'required' | 'label' | 'validationState' | 'validationMessage' | 'validationMessageIcon' | 'hint' + >, +) => { + return ( +