Skip to content

Commit

Permalink
doc(preset-attributify): update docs with svelteHTML instead of svelt…
Browse files Browse the repository at this point in the history
…e.JSX (#2065)
  • Loading branch information
jpaquim committed Jan 10, 2023
1 parent 8cf56ab commit badcf86
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/preset-attributify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,10 @@ declare module 'solid-js' {
### Svelte & SvelteKit

```ts
import type { AttributifyAttributes } from '@unocss/preset-attributify'
declare namespace svelteHTML {
import type { AttributifyAttributes } from '@unocss/preset-attributify'

declare global {
namespace svelte.JSX {
interface HTMLAttributes<T> extends AttributifyAttributes {}
}
type HTMLAttributes = AttributifyAttributes
}
```

Expand Down

0 comments on commit badcf86

Please sign in to comment.