Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu authored Jan 19, 2021
1 parent 081c4a8 commit 9b6b59b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,21 @@ const finalHTML = `

Create the head manager instance.

### `useHead(() => HeadObj)`
### `useHead(() => HeadObject)`

```ts
interface HeadObj {
interface HeadObject {
title?: string
base?: Attrs
meta?: Attrs[]
link?: Attrs[]
style?: Attrs[]
script?: Attrs[]
htmlAttrs?: Attrs
bodyAttrs?: Attrs
base?: HeadAttrs
meta?: HeadAttrs[]
link?: HeadAttrs[]
style?: HeadAttrs[]
script?: HeadAttrs[]
htmlAttrs?: HeadAttrs
bodyAttrs?: HeadAttrs
}

interface Attrs {
interface HeadAttrs {
[attrName: string]: any
}
```
Expand Down

0 comments on commit 9b6b59b

Please sign in to comment.