Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BottomNavItem missing property type definition "btnClass". #1480

Open
w3rafu opened this issue Nov 5, 2024 · 0 comments
Open

BottomNavItem missing property type definition "btnClass". #1480

w3rafu opened this issue Nov 5, 2024 · 0 comments

Comments

@w3rafu
Copy link

w3rafu commented Nov 5, 2024

Describe the bug

The BottomNavItem from this example (https://flowbite-svelte.com/docs/components/bottom-navigation#Application_bar_example) triggers a type error for the btnClass property.

BottomNavItem component does not explicitly export a btnClass property. However, it uses btnClass internally through the $$props object.

Interested in PR.

Reproduction

Screen Shot 2024-11-05 at 8 08 55 AM

(Object literal may only specify known properties, and '"btnClass"' does not exist in type 'Properties<({ btnName?: string | undefined; appBtnPosition?: "left" | "middle" | "right" | undefined; activeClass?: string | undefined; exact?: boolean | undefined; spanClass?: string | undefined; } & Omit<...> & { ...; }) | ({ ...; } & ... 1 more ... & { ...; }), { ...; }>'.)

Flowbite version and System Info

System:
    OS: macOS 10.15.7
    CPU: (4) x64 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
    Memory: 1.61 GB / 24.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 20.15.0 - /usr/local/bin/node
    Yarn: 1.22.11 - /usr/local/bin/yarn
    npm: 10.9.0 - /usr/local/bin/npm
    pnpm: 9.12.3 - /usr/local/bin/pnpm
    Watchman: 2023.01.30.00 - /usr/local/bin/watchman
  Browsers:
    Chrome: 122.0.6261.129
    Firefox Nightly: 108.0.2
  npmPackages:
    @sveltejs/kit: ^2.0.0 => 2.7.4 
    flowbite-svelte: ^0.47.3 => 0.47.3 
    svelte: ^5.0.0 => 5.1.9 
    vite: ^5.0.3 => 5.4.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant