import * as React from 'react';
import { IDocPageProps } from '@fluentui/react/lib/common/DocPage.types';
import { ChoiceGroupBasicExample } from './ChoiceGroup.Basic.Example';
import { ChoiceGroupControlledExample } from './ChoiceGroup.Controlled.Example';
import { ChoiceGroupLabelExample } from './ChoiceGroup.Label.Example';
import { ChoiceGroupCustomExample } from './ChoiceGroup.Custom.Example';
import { ChoiceGroupImageExample } from './ChoiceGroup.Image.Example';
import { ChoiceGroupIconExample } from './ChoiceGroup.Icon.Example';
const ChoiceGroupBasicExampleCode = require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/ChoiceGroup/ChoiceGroup.Basic.Example.tsx') as string;
const ChoiceGroupControlledExampleCode = require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/ChoiceGroup/ChoiceGroup.Controlled.Example.tsx') as string;
const ChoiceGroupLabelExampleCode = require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/ChoiceGroup/ChoiceGroup.Label.Example.tsx') as string;
const ChoiceGroupCustomExampleCode = require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/ChoiceGroup/ChoiceGroup.Custom.Example.tsx') as string;
const ChoiceGroupImageExampleCode = require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/ChoiceGroup/ChoiceGroup.Image.Example.tsx') as string;
const ChoiceGroupIconExampleCode = require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/ChoiceGroup/ChoiceGroup.Icon.Example.tsx') as string;
export const ChoiceGroupPageProps: IDocPageProps = {
title: 'ChoiceGroup',
componentName: 'ChoiceGroup',
componentUrl: 'https://github.com/microsoft/fluentui/tree/master/packages/react/src/components/ChoiceGroup',
examples: [
{
title: 'Basic ChoiceGroup',
code: ChoiceGroupBasicExampleCode,
view: ,
},
{
title: 'Controlled ChoiceGroup',
code: ChoiceGroupControlledExampleCode,
view: ,
},
{
title: 'ChoiceGroup with images',
code: ChoiceGroupImageExampleCode,
view: ,
},
{
title: 'ChoiceGroup with icons',
code: ChoiceGroupIconExampleCode,
view: ,
},
{
title: 'ChoiceGroup with a custom label',
code: ChoiceGroupLabelExampleCode,
view: ,
},
{
title: 'ChoiceGroup with custom option rendering',
code: ChoiceGroupCustomExampleCode,
view: ,
},
],
overview: require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/ChoiceGroup/docs/ChoiceGroupOverview.md'),
bestPractices: require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/ChoiceGroup/docs/ChoiceGroupBestPractices.md'),
isHeaderVisible: true,
isFeedbackVisible: true,
allowNativeProps: true,
nativePropsElement: 'input',
};