double qutes eslint rule
This commit is contained in:
1 parent
2e517cc7f7
commit
85bc8c4af5
57 files changed
+370
-366
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { createElement } from 'react'
|
||||
import { createElement } from "react"
|
||||
|
||||
export type HtmlProps = {
|
||||
className?: string
|
||||
@@ -6,7 +6,7 @@ export type HtmlProps = {
|
||||
html: string
|
||||
}
|
||||
|
||||
export const Html: React.FC<HtmlProps> = ({ as = 'div', ...props }) => {
|
||||
export const Html: React.FC<HtmlProps> = ({ as = "div", ...props }) => {
|
||||
return createElement(as, {
|
||||
className: props.className,
|
||||
dangerouslySetInnerHTML: {
|
||||
|
||||
Reference in new issue
Block a user