Link list
Link list is a simple set of vertical or horizontal links used for site navigation and to order information for users.
import { ... } from '@ag.ds-next/react/link-list';
Usage
Link list components can be imported via the link-list
entrypoint in the @ag.ds-next/react
package.
For example:
import { ... } from '@ag.ds-next/react/link-list';
Props
Prop | Type | Description |
---|---|---|
links | (Omit<LinkProps, "children"> & { label: ReactNode; })[] | |
horizontal? | boolean |
Source
You can view the full source code for this package on Github.