mirror of
https://github.com/wassname/talk.git
synced 2026-07-11 10:32:32 +08:00
Úpdating slot names
This commit is contained in:
@@ -44,7 +44,7 @@ function getComponentFragments(components) {
|
||||
* Returns an object that can be used to compose fragments or queries.
|
||||
*
|
||||
* Example:
|
||||
* const pluginFragments = getSlotsFragments(['commentInfoBar', 'commentDetail']);
|
||||
* const pluginFragments = getSlotsFragments(['commentInfoBar', 'commentActions']);
|
||||
* const rootFragment = gql`
|
||||
* fragment Comment_root on RootQuery {
|
||||
+ ${pluginFragments.spreads('root')}
|
||||
|
||||
Reference in New Issue
Block a user