# Function: useNames()

```ts
function useNames(spaceId): (did) => string;
```

Defined in: [packages/react/src/use-names.ts:10](https://github.com/leifriksheim/minca/blob/main/react/src/use-names.ts#L10)

Names people in a space: `name(did)` is what they call themselves there,
with the tail of their identity added when two people gave the same name
(`displayName`), so a name can never pass for someone else's.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `spaceId` | `string` |

## Returns

(`did`) => `string`
