nit: export props has been unnecessary.. forever (#7646)

This commit is contained in:
Erika 2023-07-14 15:57:06 +02:00 committed by GitHub
parent 7a6b48a1a4
commit b3b640435b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 39 additions and 39 deletions

View file

@ -1,5 +1,5 @@
---
export interface Props {
interface Props {
title: string;
body: string;
href: string;

View file

@ -1,5 +1,5 @@
---
export interface Props {
interface Props {
title: string;
}

View file

@ -3,7 +3,7 @@
// all pages through the use of the <BaseHead /> component.
import '../styles/global.css';
export interface Props {
interface Props {
title: string;
description: string;
image?: string;

View file

@ -1,5 +1,5 @@
---
export interface Props {
interface Props {
date: Date;
}

View file

@ -1,6 +1,6 @@
---
// Write your component code in this file!
export interface Props {
interface Props {
prefix?: string;
}
---

View file

@ -1,5 +1,5 @@
---
export interface Props {
interface Props {
title: string;
}

View file

@ -2,7 +2,7 @@
// Full Astro Component Syntax:
// https://docs.astro.build/core-concepts/astro-components/
export interface Props {
interface Props {
initialCount?: number;
}

View file

@ -1,10 +1,10 @@
---
import type { IComment } from '../types.js';
import For from './For.astro';
import Show from './Show.astro';
import Toggle from './Toggle.astro';
import type { IComment } from '../types.js';
export interface Props {
interface Props {
comment: IComment;
}

View file

@ -1,7 +1,7 @@
---
import Show from './Show.astro';
export interface Props<T> {
interface Props<T> {
each: Iterable<T>;
}

View file

@ -1,5 +1,5 @@
---
export interface Props<T> {
interface Props<T> {
when: T | number | boolean | undefined | null;
}

View file

@ -1,8 +1,8 @@
---
import Show from './Show.astro';
import type { IStory } from '../types.js';
import Show from './Show.astro';
export interface Props {
interface Props {
story: IStory;
}

View file

@ -1,5 +1,5 @@
---
export interface Props {
interface Props {
open?: boolean;
}

View file

@ -1,5 +1,5 @@
---
export interface Props {
interface Props {
title: string;
body: string;
href: string;

View file

@ -1,5 +1,5 @@
---
export interface Props {
interface Props {
title: string;
}

View file

@ -2,7 +2,7 @@
import type { HTMLAttributes } from 'astro/types';
import { iconPaths } from './IconPaths';
export interface Props {
interface Props {
icon: keyof typeof iconPaths;
color?: string;
gradient?: boolean;

View file

@ -2,7 +2,7 @@
// Inspired by the `Aside` component from docs.astro.build
// https://github.com/withastro/docs/blob/main/src/components/Aside.astro
export interface Props {
interface Props {
type?: 'note' | 'tip' | 'caution' | 'danger';
title?: string;
}

View file

@ -1,5 +1,5 @@
---
export interface Props {
interface Props {
title: string;
}

View file

@ -1,8 +1,8 @@
---
import CartFlyoutToggle from '../components/CartFlyoutToggle';
import CartFlyout from '../components/CartFlyout';
import CartFlyoutToggle from '../components/CartFlyoutToggle';
export interface Props {
interface Props {
title: string;
}

View file

@ -1,7 +1,7 @@
---
import { runHighlighterWithAstro } from './dist/highlighter';
export interface Props {
interface Props {
class?: string;
lang?: string;
code: string;

View file

@ -3,7 +3,7 @@ import type * as shiki from 'shiki';
import { renderToHtml } from 'shiki';
import { getHighlighter } from './Shiki.js';
export interface Props {
interface Props {
/** The code to highlight. Required. */
code: string;
/**

View file

@ -2,7 +2,7 @@
// Inspired by the `Aside` component from docs.astro.build
// https://github.com/withastro/docs/blob/main/src/components/Aside.astro
export interface Props {
interface Props {
type?: 'note' | 'tip' | 'caution' | 'danger';
title?: string;
}

View file

@ -1,5 +1,5 @@
---
export interface Props extends astroHTML.JSX.AnchorHTMLAttributes {}
interface Props extends astroHTML.JSX.AnchorHTMLAttributes {}
const { href, class: className, ...props } = Astro.props;

View file

@ -1,5 +1,5 @@
---
export interface Props extends astroHTML.JSX.AnchorHTMLAttributes {}
interface Props extends astroHTML.JSX.AnchorHTMLAttributes {}
const { href, class: className, ...props } = Astro.props;

View file

@ -1,5 +1,5 @@
---
export interface Props {
interface Props {
title: string;
}

View file

@ -1,8 +1,8 @@
---
import '../imported.css';
import Button from '../components/Button.astro';
import '../imported.css';
export interface Props {
interface Props {
title: string;
}

View file

@ -1,8 +1,8 @@
---
import '../imported.css';
import Button from '../components/Button.astro';
import '../imported.css';
export interface Props {
interface Props {
title: string;
}

View file

@ -1,8 +1,8 @@
---
import '../imported.css';
import Button from '../components/Button.astro';
import '../imported.css';
export interface Props {
interface Props {
title: string;
}

View file

@ -1,5 +1,5 @@
---
export interface Props {
interface Props {
title: string;
subtitle: string;
content?: string;

View file

@ -1,5 +1,5 @@
---
export interface Props {
interface Props {
title: string,
body: string,
href: string,

View file

@ -2,7 +2,7 @@
// Inspired by the `Aside` component from docs.astro.build
// https://github.com/withastro/docs/blob/main/src/components/Aside.astro
export interface Props {
interface Props {
type?: 'note' | 'tip' | 'caution' | 'danger';
title?: string;
}

View file

@ -1,6 +1,6 @@
---
import BaseHead from "../components/BaseHead.astro";
export interface Props {
interface Props {
title: string;
}

View file

@ -1,5 +1,5 @@
---
export interface Props {
interface Props {
content?: string;
}