# @ovok/native/tile

Canonical page: https://docs.ovok.com/native-sdk/reference/tile

Tile component for task and dashboard entries.

Import from `@ovok/native/tile`.

## Components [#components]

### Tile() [#tile]

```ts
function Tile(props): Element;
```

Card container for a measurement tile; compose it with the `Tile.*` sub-components.

#### Parameters [#parameters]

| Parameter | Type |
| ------ | ------ |
| `props` | `TileProps` |

#### Returns [#returns]

`Element`

## Type Aliases [#type-aliases]

### TaskIconProps [#taskiconprops]

```ts
type TaskIconProps = object;
```

Props for the tile's task icon.

#### Properties [#properties]

##### color? [#color]

```ts
color?: string;
```

Icon color.

##### measurementTypeKey [#measurementtypekey]

```ts
measurementTypeKey: MeasurementTypeKey;
```

Measurement type whose icon is shown.

##### size? [#size]

```ts
size?: number;
```

Icon size.

##### style? [#style]

```ts
style?: React.ComponentProps<typeof SvgXml>["style"];
```

Style for the icon.

##### testID? [#testid]

```ts
testID?: string;
```

Test identifier for the icon.
