diff --git a/apps/fabric-examples/src/pages/ButtonPage/examples/Button.Default.Example.tsx b/apps/fabric-examples/src/pages/ButtonPage/examples/Button.Default.Example.tsx index aeb206527378d6..b234c1beaa0bc9 100644 --- a/apps/fabric-examples/src/pages/ButtonPage/examples/Button.Default.Example.tsx +++ b/apps/fabric-examples/src/pages/ButtonPage/examples/Button.Default.Example.tsx @@ -14,7 +14,7 @@ export class ButtonDefaultExample extends React.Component { disabled={ disabled } icon='Add' description='I am a description' - label='Create account' + text='Create account' /> diff --git a/apps/fabric-examples/src/pages/ButtonPage/examples/Button.Primary.Example.tsx b/apps/fabric-examples/src/pages/ButtonPage/examples/Button.Primary.Example.tsx index 7b020bfafef205..72cdadddb66c76 100644 --- a/apps/fabric-examples/src/pages/ButtonPage/examples/Button.Primary.Example.tsx +++ b/apps/fabric-examples/src/pages/ButtonPage/examples/Button.Primary.Example.tsx @@ -16,8 +16,9 @@ export class ButtonPrimaryExample extends React.Component { Create account + text='Create account' + /> ); } -} \ No newline at end of file +} diff --git a/apps/fabric-examples/src/pages/DropdownPage/examples/Dropdown.Basic.Example.tsx b/apps/fabric-examples/src/pages/DropdownPage/examples/Dropdown.Basic.Example.tsx index 84f99951bb9c6d..ff9cbaf515fba7 100644 --- a/apps/fabric-examples/src/pages/DropdownPage/examples/Dropdown.Basic.Example.tsx +++ b/apps/fabric-examples/src/pages/DropdownPage/examples/Dropdown.Basic.Example.tsx @@ -20,7 +20,6 @@ export class DropdownBasicExample extends React.Component { label='Basic uncontrolled example:' id='Basicdrop1' ariaLabel='Basic dropdown example' - onChanged={ (item) => this.setState({ selectedItem: item }) } options={ [ { key: 'A', text: 'Option a' }, diff --git a/apps/fabric-examples/src/pages/PickersPage/examples/Picker.CustomResult.Example.tsx b/apps/fabric-examples/src/pages/PickersPage/examples/Picker.CustomResult.Example.tsx index 15317f7b275afb..8a3726581e3bdc 100644 --- a/apps/fabric-examples/src/pages/PickersPage/examples/Picker.CustomResult.Example.tsx +++ b/apps/fabric-examples/src/pages/PickersPage/examples/Picker.CustomResult.Example.tsx @@ -18,7 +18,7 @@ import { ImageFit } from 'office-ui-fabric-react/lib/Image'; import { Persona, PersonaSize } from 'office-ui-fabric-react/lib/Persona'; import { IBasePickerProps, - BasePicker, + BasePickerListBelow, BaseAutoFill, IPickerItemProps } from 'office-ui-fabric-react/lib/Pickers'; @@ -338,42 +338,5 @@ export class PickerCustomResultExample extends React.Component { - public render() { - let { suggestedDisplayValue } = this.state; - - return ( -
-
- -
- -
-
-
- - { this.renderItems() } - - { this.renderSuggestions() } -
- ); - } - - protected _onBackspace(ev: React.KeyboardEvent) { - // override the existing backspace method to not do anything because the list items appear below. - } +export class DocumentPicker extends BasePickerListBelow { } \ No newline at end of file diff --git a/apps/fabric-website/index.html b/apps/fabric-website/index.html index e15f6214315a0b..55d3f6ea3550f1 100644 --- a/apps/fabric-website/index.html +++ b/apps/fabric-website/index.html @@ -37,6 +37,7 @@