7.6.2.57. ActionServiceProvider
console.action/provider 확장 유형에 대한 다른 플러그인에서 기여를 받을 수 있는 구성 요소입니다.
예제
const context: ActionContext = { 'a-context-id': { dataFromDynamicPlugin } };
...
<ActionServiceProvider context={context}>
{({ actions, options, loaded }) =>
loaded && (
<ActionMenu actions={actions} options={options} variant={ActionMenuVariant.DROPDOWN} />
)
}
</ActionServiceProvider>
| 매개변수 이름 | 설명 |
|---|---|
|
| contextId 및 선택적 플러그인 데이터가 있는 오브젝트 |