mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
Expose getSlotFragmentSpread in plugin-api
This commit is contained in:
@@ -149,7 +149,7 @@ export function forEachError(error, callback) {
|
||||
/**
|
||||
* getSlotFragmentSpreads will return a string in the
|
||||
* expected format for slot fragments, given `slots` and `resource`.
|
||||
* e.g. `getSlotsFragmentSpreads(['slotName'], 'root')` returns
|
||||
* e.g. `getSlotFragmentSpreads(['slotName'], 'root')` returns
|
||||
* `...TalkSlot_SlotName_root`.
|
||||
*/
|
||||
export function getSlotFragmentSpreads(slots, resource) {
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export {getSlotFragmentSpreads} from 'coral-framework/utils';
|
||||
Reference in New Issue
Block a user