Corrected docs

This commit is contained in:
2026-04-27 10:31:58 +02:00
parent 04052ef7b4
commit 25975eb89a
3 changed files with 3 additions and 3 deletions

View File

@@ -184,7 +184,7 @@ Applies smooth enter animations (CSS transitions / keyframes). Returns the modif
```javascript
fx({ name: 'fade', duration: 300 },
Div({}, 'Hello')
div({}, 'Hello')
)
```

View File

@@ -224,7 +224,7 @@ Or using the classic script (autoglobal):
## 8. Important Notes
- **Naming:** All tag helpers are **lowercase** no PascalCase helpers (`Div`, `Button`).
- **Naming:** All tag helpers are **lowercase**.
- **Global availability:**
- **IIFE script** → automatically on `window`.
- **ESM module** → not global by default; use `import { div } from 'sigpro'` or call `sigpro()` to inject all globals.