# Source: https://mui.com/x/api/data-grid/grid-row-spacing-params.md

# GridRowSpacingParams API

## Demos

For examples and details on the usage of this React component, visit the component demo pages:

- [Row spacing](/x/react-data-grid/row-height/#row-spacing)

## Import

```jsx
import { GridRowSpacingParams } from '@mui/x-data-grid-premium'
// or
import { GridRowSpacingParams } from '@mui/x-data-grid-pro'
// or
import { GridRowSpacingParams } from '@mui/x-data-grid'
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| id | `GridRowId` | - | Yes |  |
| indexRelativeToCurrentPage | `number` | - | Yes |  |
| isFirstVisible | `boolean` | - | Yes |  |
| isLastVisible | `boolean` | - | Yes |  |
| model | `R` | - | Yes |  |

> **Note**: The `ref` is forwarded to the root element.