-
Notifications
You must be signed in to change notification settings - Fork 324
fix: Button loader, Datepicker range color, example code etc. #1838
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
Changes from 2 commits
013c237
a37f44d
382f643
0ee32fb
f7918be
8c6d3ff
387b5e5
5779ea5
d7f5c38
245840c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -4,26 +4,39 @@ | |||||
| import { Button, Badge } from "$lib"; | ||||||
| import { copyToClipboard, replaceLibImport } from "./helpers"; | ||||||
| import { highlightcompo } from "./theme"; | ||||||
| import type { LanguageFn } from "highlight.js"; | ||||||
| type HighlightLanguage = { | ||||||
| name: string; | ||||||
| register: LanguageFn; | ||||||
| }; | ||||||
| interface Props { | ||||||
| // componentStatus: boolean; | ||||||
| code: string; | ||||||
| badgeClass?: string; | ||||||
| buttonClass?: string; | ||||||
| codeLang?: string; | ||||||
| language: HighlightLanguage; | ||||||
|
||||||
| class?: string; | ||||||
| replaceLib?: boolean; | ||||||
| // Highlight.svelte props | ||||||
| numberLine?: boolean; | ||||||
| langtag?: boolean; | ||||||
| hideBorder?: boolean; | ||||||
| wrapLines?: boolean; | ||||||
| startingLineNumber?: number; | ||||||
| highlightedLines?: number[]; | ||||||
| backgroudColor?: string; | ||||||
|
||||||
| backgroudColor?: string; | |
| backgroundColor?: string; |
π€ Prompt for AI Agents
In src/routes/utils/HighlightCompo.svelte around line 28, the prop name is
misspelled as "backgroudColor"; rename the prop to "backgroundColor" everywhere
it's declared and referenced (including type annotations, props export, and any
usages within the component and its consumers) to ensure consistency and avoid
runtime/typing errors.
Uh oh!
There was an error while loading. Please reload this page.