# ListRow

A list item for lists of places, layers and options. Render rows inside a
`ul` (or `ol`). Without `onClick` the row is plain content; with it the row
is a single full-width button, so the whole row is the target.

This is a function exported by `@mapcairn/map`, checked against version 0.2.0.

## Signature

```ts
import { ListRow } from "@mapcairn/map";
 
function ListRow(input: ListRowProps): JSX.Element;
```

## Parameters

- `{ icon, label, secondary: secondaryText, trailing: trailingNode, selected, onClick, className, ...rest }`
- `input` (`ListRowProps`)

## Returns

`JSX.Element`

## See also

- [`ListRowProps`](https://docs.mapcairn.com/api/map/ListRowProps.md)

Source: [packages/map/src/ui/ListRow/ListRow.tsx:33](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/ui/ListRow/ListRow.tsx#L33)
