Prettier
Didn't run this on every single file because it messes up the formatting of the some of the TestRenderer constructions
This commit is contained in:
@@ -40,46 +40,46 @@ import Strong from "./Strong.svelte";
|
||||
import Ul from "./Ul.svelte";
|
||||
|
||||
const components = {
|
||||
"a": A,
|
||||
"address": Address,
|
||||
"article": Article,
|
||||
"aside": Aside,
|
||||
"b": B,
|
||||
"bdi": Bdi,
|
||||
"bdo": Bdo,
|
||||
"blockquote": Blockquote,
|
||||
"button": Button,
|
||||
"cite": Cite,
|
||||
"code": Code,
|
||||
"data": Data,
|
||||
"datalist": Datalist,
|
||||
"dd": Dd,
|
||||
"dl": Dl,
|
||||
"dt": Dt,
|
||||
"div": Div,
|
||||
"em": Em,
|
||||
"footer": Footer,
|
||||
"form": Form,
|
||||
"h1": H1,
|
||||
"h2": H2,
|
||||
"h3": H3,
|
||||
"h4": H4,
|
||||
"h5": H5,
|
||||
"h6": H6,
|
||||
"header": Header,
|
||||
"i": I,
|
||||
"input": Input,
|
||||
"label": Label,
|
||||
"li": Li,
|
||||
"main": Main,
|
||||
"nav": Nav,
|
||||
"ol": Ol,
|
||||
"p": P,
|
||||
"section": Section,
|
||||
"span": Span,
|
||||
"strong": Strong,
|
||||
"ul": Ul,
|
||||
}
|
||||
a: A,
|
||||
address: Address,
|
||||
article: Article,
|
||||
aside: Aside,
|
||||
b: B,
|
||||
bdi: Bdi,
|
||||
bdo: Bdo,
|
||||
blockquote: Blockquote,
|
||||
button: Button,
|
||||
cite: Cite,
|
||||
code: Code,
|
||||
data: Data,
|
||||
datalist: Datalist,
|
||||
dd: Dd,
|
||||
dl: Dl,
|
||||
dt: Dt,
|
||||
div: Div,
|
||||
em: Em,
|
||||
footer: Footer,
|
||||
form: Form,
|
||||
h1: H1,
|
||||
h2: H2,
|
||||
h3: H3,
|
||||
h4: H4,
|
||||
h5: H5,
|
||||
h6: H6,
|
||||
header: Header,
|
||||
i: I,
|
||||
input: Input,
|
||||
label: Label,
|
||||
li: Li,
|
||||
main: Main,
|
||||
nav: Nav,
|
||||
ol: Ol,
|
||||
p: P,
|
||||
section: Section,
|
||||
span: Span,
|
||||
strong: Strong,
|
||||
ul: Ul,
|
||||
};
|
||||
|
||||
export type SupportedElement = keyof typeof components;
|
||||
export type SupportedAs = SupportedElement | SvelteComponent;
|
||||
|
||||
Reference in New Issue
Block a user