File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed
Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @react-email/code-block " : patch
3+ ---
4+
5+ Fix typo in the PrismLanguage type
Original file line number Diff line number Diff line change 11/* eslint-disable react/no-array-index-key */
22import * as React from "react" ;
3- import type { PrismLangauge } from "./languages-available" ;
3+ import type { PrismLanguage } from "./languages-available" ;
44import type { Theme } from "./themes" ;
55import { Prism } from "./prism" ;
66
@@ -16,7 +16,7 @@ export type CodeBlockProps = Readonly<{
1616 fontFamily ?: string ;
1717
1818 theme : Theme ;
19- language : PrismLangauge ;
19+ language : PrismLanguage ;
2020 code : string ;
2121} > ;
2222
Original file line number Diff line number Diff line change 1- export type PrismLangauge =
1+ export type PrismLanguage =
22 | "markup"
33 | "html"
44 | "xml"
Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ and the class names associated with them on a `<style>` tag on the `<head>` elem
7777
7878### The treatment for Tailwind's CSS variables
7979
80- Emails don't really have great support for CSS variables,
81- so we needed to use a custom postcss plugin alongisde Tailwind to resolve
80+ Emails don't really have great support for CSS variables,
81+ so we needed to use a custom postcss plugin alongisde Tailwind to resolve
8282all of these variables. When the plugin finds a CSS Variable that it cannot resolve,
8383it leaves it without any changes.
8484
You can’t perform that action at this time.
0 commit comments