mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
Upgrade frontend to React 18 (#3353)
Co-authored-by: Kira Pilot <kira.pilot23@gmail.com>
This commit is contained in:
@ -22,7 +22,7 @@ export const Language = {
|
||||
/**
|
||||
* Copy button used inside the CodeBlock component internally
|
||||
*/
|
||||
export const CopyButton: React.FC<CopyButtonProps> = ({
|
||||
export const CopyButton: React.FC<React.PropsWithChildren<CopyButtonProps>> = ({
|
||||
text,
|
||||
ctaCopy,
|
||||
wrapperClassName = "",
|
||||
|
Reference in New Issue
Block a user