Skip to content

Commit 8f91dec

Browse files
committed
Add 'export' to components not exporting Props interfaces
1 parent bfde0d9 commit 8f91dec

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/components/Social/Embed/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
3030
import type { EmbedPlatform } from '@components/Social/Embed/client'
3131
32-
interface Props {
32+
export interface Props {
3333
url: string
3434
platform?: EmbedPlatform
3535
className?: string

src/components/Social/Highlighter/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* ```
1919
*/
2020
21-
interface Props {
21+
export interface Props {
2222
/**
2323
* Custom aria-label for accessibility
2424
* @default 'Share this'

src/components/Social/Mastodon/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* SPDX-License-Identifier: AGPL-3.0-only
77
*/
88
9-
interface Props {
9+
export interface Props {
1010
id?: string
1111
}
1212

src/components/Test/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* and applies all configured markdown plugins.
66
*/
77
8-
interface Props {
8+
export interface Props {
99
/** The markdown content to render (from fixtures) */
1010
content: string
1111
}

src/components/WebMentions/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import { fetchWebmentions } from '@components/WebMentions/server'
1010
import WebMentionItem from './item.astro'
1111
12-
interface Props {
12+
export interface Props {
1313
/** The absolute URL of the page to fetch webmentions for */
1414
url: string
1515
/** Show the facepile of recent mentions */

src/components/WebMentions/item.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
import type { Webmention } from '@components/WebMentions/@types'
66
7-
interface Props {
7+
export interface Props {
88
mention: Webmention
99
}
1010

0 commit comments

Comments
 (0)