Skip to contentSkip to content

PromptFieldRecord API

API reference docs for the React PromptFieldRecord component. Learn about the props, CSS, and other APIs of this exported module.

Demos

Import

import { PromptFieldRecord } from '@mui/x-data-grid-premium/components';
// or
import { PromptFieldRecord } from '@mui/x-data-grid-premium';

Learn about the difference by reading this guide on minimizing bundle size.



A button that records the user's voice when clicked. It renders the baseIconButton slot.

Props

Override or extend the styles applied to the component.

Type:func
| string


The component used for the root node. Either a string to use an HTML element or a component.

Type:elementType


The URL to link to. If set, and component is not set, the component renders as an anchor tag.

Type:string


The relationship of the linked URL. Set it to noopener noreferrer when target is set to _blank to avoid a security issue.

Type:string


A function to customize rendering of the component.

Type:element
| func


Where to display the linked URL, as the name for a browsing context.

Type:string


The ref is forwarded to the root element.

Source code

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