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

[BUG]: Some Icons not support such as <IconOutline name="x-mark-outline" /> #10

Open
fanshuai opened this issue Aug 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@fanshuai
Copy link

fanshuai commented Aug 1, 2023

Description of the bug

npm run dev error log info:

TypeError: Cannot read properties of undefined (reading 'box')
    at IconOutline.svelte:34:26
    at Object.$$render (/node_modules/svelte/internal/index.mjs:1997:22)
    at eval (/src/routes/+page.svelte:15:94)
    at Object.$$render (/node_modules/svelte/internal/index.mjs:1997:22)
    at Object.default (root.svelte:42:40)
    at eval (/src/routes/+layout.svelte:11:41)
    at Object.$$render (/node_modules/svelte/internal/index.mjs:1997:22)
    at root.svelte:41:39
    at $$render (/node_modules/svelte/internal/index.mjs:1997:22)
    at Object.render (/node_modules/svelte/internal/index.mjs:2005:26)

Steps To Reproduce

  1. Open Browser with url https://stackblitz.com/edit/daisyui-sveltekit/
  2. Terminal: npm i svelte-heros@4.2.0 -D
  3. edit src/routes/+page.svelte with:
<button class="btn">Hello daisyUI</button>
<IconSolid name="academic-cap-solid" />
<IconOutline name="academic-cap-outline" />
<IconSolid name="x-circle-solid" />
<IconOutline name="x-mark-outline" />
<script>
  import { IconSolid, IconOutline } from 'svelte-heros';
</script>
  1. Terminal: npm run dev

Additional Information

No response

@fanshuai fanshuai added the bug Something isn't working label Aug 1, 2023
@shinokada
Copy link
Owner

<IconOutline name="x-mark-outline" /> should be <IconOutline name="x-circle-outline" />.

Please check the names at https://svelte-heros.vercel.app/outline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants