We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69bf599 commit e9ea968Copy full SHA for e9ea968
docs/control-option.md
@@ -61,15 +61,15 @@ searchEntities: async (
61
Then you can access the extra properties within your component since the `CompositeEntitiesByKind` will pass
62
the `entities` of type `EntitiesSearch.BaseControl< E >` to the children.
63
64
-```typescript
+```jsx
65
(entities: EntitiesSearch.BaseControl< E >) => {
66
return <MyComponent {...entities} />;
67
}
68
```
69
70
And internally of your `MyComponent` you can access the `extra` property of the `ControlOption`:
71
72
73
function MyComponent(entities: Options<V>): JSX.Element {
74
return (
75
<div>
0 commit comments