clear code
This commit is contained in:
parent
c7887d2ee8
commit
6aea6c93d3
|
@ -15,7 +15,6 @@ const customStyle = {
|
||||||
}
|
}
|
||||||
const SyntaxHighlighterBox = ({ rows }: SyntaxHighlighterBoxProps) => {
|
const SyntaxHighlighterBox = ({ rows }: SyntaxHighlighterBoxProps) => {
|
||||||
return (
|
return (
|
||||||
<YStack>
|
|
||||||
<SyntaxHighlighter
|
<SyntaxHighlighter
|
||||||
language="bash"
|
language="bash"
|
||||||
showLineNumbers={true}
|
showLineNumbers={true}
|
||||||
|
@ -25,7 +24,6 @@ const SyntaxHighlighterBox = ({ rows }: SyntaxHighlighterBoxProps) => {
|
||||||
>
|
>
|
||||||
{`${rows.join('\n')}`}
|
{`${rows.join('\n')}`}
|
||||||
</SyntaxHighlighter>
|
</SyntaxHighlighter>
|
||||||
</YStack>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
export default SyntaxHighlighterBox
|
export default SyntaxHighlighterBox
|
||||||
|
|
Loading…
Reference in New Issue