[WEB-4660] chore: replace jsx element with react node (#7567)
* chore: replace jsx element with react node * fix: review comments * fix: tooltip types update * fix: propel pacakge fix
This commit is contained in:
parent
1ef30746a2
commit
a085c0ec62
43 changed files with 102 additions and 57 deletions
|
|
@ -26,9 +26,15 @@
|
|||
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
|
||||
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@plane/eslint-config": "*",
|
||||
"@plane/typescript-config": "*",
|
||||
"@types/react": "18.3.11",
|
||||
"@types/react-dom": "18.3.1",
|
||||
"tsup": "8.4.0",
|
||||
"typescript": "5.8.3"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ export type TInstanceAuthenticationModes = {
|
|||
key: string;
|
||||
name: string;
|
||||
description: string;
|
||||
icon: JSX.Element;
|
||||
config: JSX.Element;
|
||||
icon: React.ReactNode;
|
||||
config: React.ReactNode;
|
||||
unavailable?: boolean;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue