Skip to content

Commit

Permalink
Wrong documentation code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
widoz committed Apr 11, 2024
1 parent c979b20 commit 8bc49b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ It gets passed the `entitiesFinder` which is the function performing the request

Below you can see how easy is to create a new control set compared to use the low level api `CompositeEntitiesByKind`.

```typescript jsx
```jsx
const entitiesFinder = createSearchEntitiesOptions( 'post' );
const postTypesEntities = convertEntitiesToControlOptions(useQueryViewablePostTypes().records(), 'name', 'slug');

Expand Down

0 comments on commit 8bc49b8

Please sign in to comment.