mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Upgrade frontend to React 18 (#3353)
Co-authored-by: Kira Pilot <kira.pilot23@gmail.com>
This commit is contained in:
co-authored by
Kira Pilot
parent
6fde537f9c
commit
2ee6acb2ad
@@ -14,7 +14,7 @@ export interface CodeExampleProps {
|
||||
/**
|
||||
* Component to show single-line code examples, with a copy button
|
||||
*/
|
||||
export const CodeExample: FC<CodeExampleProps> = ({
|
||||
export const CodeExample: FC<React.PropsWithChildren<CodeExampleProps>> = ({
|
||||
code,
|
||||
className,
|
||||
buttonClassName,
|
||||
|
||||
Reference in New Issue
Block a user