fix(types): add missing $$restProps for Checkbox, Filename, FluidForm (#1655)

* fix(types): add missing `$$restProps` for `Checkbox`, `Filename`, `FluidForm`

* Run "yarn build:docs"

* test: assert `$$restProps` for `Checkbox`, `Form`
This commit is contained in:
metonym 2023-02-11 10:50:01 -08:00 committed by GitHub
commit 6450e8b0b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 22 additions and 8 deletions

View file

@ -2,7 +2,7 @@
import { Checkbox } from "../types";
</script>
<Checkbox labelText="Label text" />
<Checkbox labelText="Label text" style="margin: 1rem" />
<Checkbox labelText="Label text" checked />

View file

@ -2,7 +2,7 @@
import { FluidForm, TextInput, PasswordInput } from "../types";
</script>
<FluidForm>
<FluidForm action="" method="get">
<TextInput labelText="User name" placeholder="Enter user name..." required />
<PasswordInput
required