Skip to content

Commit 2a28625

Browse files
author
Joshua Stübner
committed
fix: fix file imports
1 parent aa29bd2 commit 2a28625

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apps/ui-generator/src/modules/components/components/ComponentsOverview.astro

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import SectionTitle from './SectionTitle.astro';
44
import type { SmarterSection } from './sections';
55
import PageHeader from '../../common/components/PageHeader.astro';
66
import SecondaryNav from '../../common/components/SecondaryNav.astro';
7-
import SparkLine from '../../customComponents/SparkLine/SparkLine.astro';
8-
import SparkLineSvelte from '../../customComponents/SparkLine/SparkLine.svelte';
7+
import Sparkline from '../../customComponents/SparkLine/Sparkline.astro';
8+
import SparklineSvelte from '../../customComponents/SparkLine/Sparkline.svelte';
99
1010
interface Props {
1111
sections: SmarterSection[];
@@ -63,22 +63,22 @@ const entries = sections.map((section) => ({
6363
<div class="nc-card nc-flow">
6464
<h3>Sparkline</h3>
6565
<div class="nc-stack -near">
66-
<p>This is an inline Sparkline:<SparkLine data={[5, 10, 8, 12, 7, 14, 10, 15, 9, 18, 12, 20]} label="Example SparkLine" appearance="gradient" /> </p>
66+
<p>This is an inline Sparkline:<Sparkline data={[5, 10, 8, 12, 7, 14, 10, 15, 9, 18, 12, 20]} label="Example SparkLine" appearance="gradient" /> </p>
6767
</div>
6868

6969
<div class="nc-stack -near">
7070
<p>This is an large Sparkline:</p>
71-
<SparkLine data={[5, 10, 8, 12, 7, 14, 10, 15, 9, 18, 12, 20]} label="Example SparkLine" appearance="gradient" style="width: min(400px, 100%); height: auto;" />
71+
<Sparkline data={[5, 10, 8, 12, 7, 14, 10, 15, 9, 18, 12, 20]} label="Example SparkLine" appearance="gradient" style="width: min(400px, 100%); height: auto;" />
7272
</div>
7373

7474
<div class="nc-stack -near">
7575
<p>This is an large Sparkline as line only:</p>
76-
<SparkLine data={[5, 10, 8, 12, 7, 14, 10, 15, 9, 18, 12, 20]} label="Example SparkLine" appearance="line" style="width: min(400px, 100%); height: auto;" />
76+
<Sparkline data={[5, 10, 8, 12, 7, 14, 10, 15, 9, 18, 12, 20]} label="Example SparkLine" appearance="line" style="width: min(400px, 100%); height: auto;" />
7777
</div>
7878

7979
<div class="nc-stack -near">
8080
<p>This is an inline Sparkline in svelte:
81-
<SparkLineSvelte
81+
<SparklineSvelte
8282
data={[5, 10, 8, 12, 7, 14, 10, 15, 9, 18, 12, 20]}
8383
label="Example SparkLine"
8484
appearance="gradient"

apps/ui-generator/src/modules/customComponents/SparkLine/SparkLine.astro renamed to apps/ui-generator/src/modules/customComponents/SparkLine/Sparkline.astro

File renamed without changes.

0 commit comments

Comments
 (0)