Skip to content

Commit 6ee3420

Browse files
Update LocationPicker.md
1 parent a4682b7 commit 6ee3420

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

docs/documentation/docs/controls/LocationPicker.md

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44

5-
This control allows you to search and select the Location, also allows enter custom location.
5+
This control allows you to search and select the Location, also allows enter a custom location.
66

77

88
## How to use this control in your solutions
@@ -40,11 +40,17 @@ import { LocationPicker,ILocationPickerItem } from "fx-controls-react/lib/Locat
4040

4141
```
4242

43-
![Location Picker search](../assets/location1.png)
43+
| *Location searching mode* |
44+
|:--:|
45+
|![Location Picker search](../assets/location1.png)|
4446

45-
![Location Picker Edit](../assets/location2.png)
47+
| *Entering into edit mode* |
48+
|:--:|
49+
|![Location Picker Edit](../assets/location2.png)|
4650

47-
![Location Picker Read](../assets/location3.png)
51+
| *Readonly mode* |
52+
|:--:|
53+
|![Location Picker Read](../assets/location3.png)|
4854

4955

5056

@@ -57,22 +63,12 @@ The `LocationPicker` can be configured with the following properties:
5763

5864

5965
| Property | Type | Required | Description |
60-
6166
| ---- | ---- | ---- | ---- |
62-
6367
| context | WebPartContext or ExtensionContext | yes | The context object of the SPFx loaded webpart or customizer. |
64-
65-
| disabled | boolean | no | Option allow to be enable or disable. Default value is `false`|
66-
67-
| defaultValue | ILocationPickerItem | no | Option allow set default value|
68-
68+
| disabled | boolean | no | Option allows to be enable or disable. Default value is `false`|
69+
| defaultValue | ILocationPickerItem | no | Option allows set default value|
6970
| errorMessage | string | no | Static error message displayed below the picker.|
70-
71-
| className | string | no | applies custom styling |
72-
71+
| className | string | no | Applies custom styling |
7372
| label | string | no | Label to use for the control. |
74-
7573
| placeholder | string | no | Placeholder label to show in the dropdown. |
76-
77-
| onSelectionChanged | (locItem: ILocationPickerItem) => void | no | Method that returns location data JSON object. |
78-
74+
| onSelectionChanged | (locItem: ILocationPickerItem) => void | no | The method that returns location data JSON object. |

0 commit comments

Comments
 (0)