mirror of
https://github.com/wassname/talk.git
synced 2026-10-28 13:30:17 +08:00
Expose getSlotFragmentSpread in plugin-api
This commit is contained in:
1 parent
5fee26da0e
commit
52cd7bcce4
2 files changed
+2
-1
No files matched your search
@@ -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