chore: update DynamicCodeBlock component props
This commit is contained in:
parent
160a7eb929
commit
65fb8722bc
@ -28,7 +28,16 @@ export default function Example() {
|
||||
className="bg-transparent px-4 py-2 text-sm focus-visible:outline-none"
|
||||
/>
|
||||
</div>
|
||||
<DynamicCodeBlock lang={lang} code={code} />
|
||||
<DynamicCodeBlock
|
||||
lang={lang}
|
||||
code={code}
|
||||
options={{
|
||||
themes: {
|
||||
light: 'github-light',
|
||||
dark: 'github-dark',
|
||||
},
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user