@@ -72,31 +72,29 @@ This ensures that the NavLink gets `activeClassName='selected'`
7272< / SubNav>
7373```
7474
75- ## System props
76-
77- <Note variant =" warning " >
78-
79- System props are deprecated in all components except [ Box] ( /Box ) . Please use the [ ` sx ` prop] ( /overriding-styles ) instead.
80-
81- </Note >
82-
83- SubNav and SubNav.Link components get ` COMMON ` system props. Read our [ System Props] ( /system-props ) doc page for a full list of available props.
84-
8575## Component props
8676
8777### SubNav
8878
89- | Prop name | Type | Description |
90- | :--------- | :------ | :------------------------------------------------------------------------------------- |
91- | actions | Node | Place another element, such as a button, to the opposite side of the navigation items. |
92- | align | String | Use ` right ` to have navigation items aligned right. |
93- | full | Boolean | Used to make navigation fill the width of the container. |
94- | aria-label | String | Used to set the ` aria-label ` on the top level ` <nav> ` element. |
79+ | Name | Type | Default | Description |
80+ | :--------- | :---------------- | :-----: | :------------------------------------------------------------------------------------- |
81+ | actions | Node | | Place another element, such as a button, to the opposite side of the navigation items. |
82+ | align | String | | Use ` right ` to have navigation items aligned right. |
83+ | full | Boolean | | Used to make navigation fill the width of the container. |
84+ | aria-label | String | | Used to set the ` aria-label ` on the top level ` <nav> ` element. |
85+ | sx | SystemStyleObject | {} | Style to be applied to the component |
9586
9687### SubNav.Link
9788
98- | Prop name | Type | Description |
99- | :-------- | :------ | :----------------------------------------------- |
100- | as | String | sets the HTML tag for the component |
101- | href | String | URL to be used for the Link |
102- | selected | Boolean | Used to style the link as selected or unselected |
89+ | Name | Type | Default | Description |
90+ | :------- | :---------------- | :-----: | :----------------------------------------------- |
91+ | as | String | | sets the HTML tag for the component |
92+ | href | String | | URL to be used for the Link |
93+ | selected | Boolean | | Used to style the link as selected or unselected |
94+ | sx | SystemStyleObject | {} | Style to be applied to the component |
95+
96+ ### SubNav.Links
97+
98+ | Name | Type | Default | Description |
99+ | :--- | :---------------- | :-----: | :----------------------------------- |
100+ | sx | SystemStyleObject | {} | Style to be applied to the component |
0 commit comments