feat: json rich text editor, blocks, asides, general structure
This commit is contained in:
committed by
Christel Westerberg
parent
c5a0f5f848
commit
ba6af14748
9
components/JsonToHtml/Components/Strikethrough/index.tsx
Normal file
9
components/JsonToHtml/Components/Strikethrough/index.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import styles from "./strike.module.css"
|
||||
|
||||
export default function Strikethrough({ children }: React.PropsWithChildren) {
|
||||
return (
|
||||
<span className={styles.strikethrough}>
|
||||
{children}
|
||||
</span>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
.strikethrough {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
Reference in New Issue
Block a user