office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
23 lines • 789 B
JavaScript
import * as React from 'react';
import { ChoiceGroup } from 'office-ui-fabric-react/lib/ChoiceGroup';
export var ChoiceGroupIconExample = function () {
return (React.createElement(ChoiceGroup, { label: "Pick one icon", defaultSelectedKey: "day", options: [
{
key: 'day',
iconProps: { iconName: 'CalendarDay' },
text: 'Day'
},
{
key: 'week',
iconProps: { iconName: 'CalendarWeek' },
text: 'Week'
},
{
key: 'month',
iconProps: { iconName: 'Calendar' },
text: 'Month',
disabled: true
}
] }));
};
//# sourceMappingURL=ChoiceGroup.Icon.Example.js.map