import * as React from 'react';
import { Checkbox } from 'office-ui-fabric-react/lib/Checkbox';
import { Stack } from 'office-ui-fabric-react/lib/Stack';
// Used to add spacing between example checkboxes
const stackTokens = { childrenGap: 10 };
export const CheckboxBasicExample: React.FunctionComponent = () => {
// These checkboxes are uncontrolled because they don't set the `checked` prop.
return (
);
};
function _onChange(ev: React.FormEvent, isChecked: boolean) {
console.log(`The option has been changed to ${isChecked}.`);
}