# Source: https://mui.com/x/api/data-grid/quick-filter-clear.md

# QuickFilterClear API

## Demos

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

- [Data Grid - Quick Filter component](/x/react-data-grid/components/quick-filter)

## Import

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

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| className | `func \| string` | - | No |  |
| render | `element \| func` | - | No |  |

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

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-data-grid/src/components/quickFilter/QuickFilterClear.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-data-grid/src/components/quickFilter/QuickFilterClear.tsx)