Skip to content

Commit b263cc9

Browse files
committed
Add NavList to slots map
1 parent d592875 commit b263cc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rules/direct-slot-children.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const slotParentToChildMap = {
66
SplitPageLayout: ['SplitPageLayout.Header', 'SplitPageLayout.Footer'],
77
FormControl: ['FormControl.Label', 'FormControl.Caption', 'FormControl.LeadingVisual', 'FormControl.TrailingVisual'],
88
'ActionList.Item': ['ActionList.LeadingVisual', 'ActionList.TrailingVisual', 'ActionList.Description'],
9+
'NavList.Item': ['NavList.LeadingVisual', 'NavList.TrailingVisual'],
910
'TreeView.Item': ['TreeView.LeadingVisual', 'TreeView.TrailingVisual'],
1011
RadioGroup: ['RadioGroup.Label', 'RadioGroup.Caption', 'RadioGroup.Validation'],
1112
CheckboxGroup: ['CheckboxGroup.Label', 'CheckboxGroup.Caption', 'CheckboxGroup.Validation']

0 commit comments

Comments
 (0)