Skip to content

Commit

Permalink
Updates docs
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Nov 6, 2019
1 parent ba312a9 commit 0458a32
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions packages/block-editor/src/components/link-control/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,20 @@

### currentSettings

- Type: `Object`
- Required: Yes
- Type: `Array`
- Required: No
- Default:
```
[
{
id: 'newTab',
title: 'Open in New Tab',
checked: false,
},
];
```

An array of settings objects. Each object will used to render a `ToggleControl` for that setting.

### fetchSearchSuggestions

Expand Down Expand Up @@ -75,3 +87,5 @@ The function callback will receive the selected item, or Null.
- Type: `Function`
- Required: No
Call when any of the settings supplied as `currentSettings` are changed/toggled.

0 comments on commit 0458a32

Please sign in to comment.