Skip to content

Commit

Permalink
feat(docs): update head docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lordelogos committed Apr 16, 2024
1 parent 55ee3ae commit d770299
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/components/head.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,19 @@ const Email = () => {

## Component Props

This component has no custom props, but expresses all of the [Common Component Props](https://react.dev/reference/react-dom/components/common) for `ComponentProps<'head'>`.
```tsx
export interface HeadProps extends BaseProps<'head'> {
enableFormatDetection?: boolean;
}
```

```tsx
enableFormatDetection?: boolean;
```

This is used to disable the `format-detection` meta (will be useful for some very specific use-cases)
Default value is `false`

:::tip
This component expresses all of the [Common Component Props](https://react.dev/reference/react-dom/components/common) for `ComponentProps<'head'>`.
:::

0 comments on commit d770299

Please sign in to comment.