aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/Tabs/TabItem.tsx
diff options
context:
space:
mode:
authorLibravatar muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com>2022-11-21 20:31:49 +0530
committerLibravatar GitHub <noreply@github.com>2022-11-21 20:31:49 +0530
commit009813cbc40bfd186037ccb7f327225357ef34e9 (patch)
tree1fcbee64b0b10256d694ba0cf687d968ae7d8da1 /src/components/ui/Tabs/TabItem.tsx
parent6.2.1-nightly.48 [skip ci] (diff)
downloadferdium-app-009813cbc40bfd186037ccb7f327225357ef34e9.tar.gz
ferdium-app-009813cbc40bfd186037ccb7f327225357ef34e9.tar.zst
ferdium-app-009813cbc40bfd186037ccb7f327225357ef34e9.zip
Fix for services self hosted url / Team Id / Include pre-releases not updating (#785)
* fix: self hosted team/url options not working properly in edit service form * fix: Include pre-releases toggle not working
Diffstat (limited to 'src/components/ui/Tabs/TabItem.tsx')
-rw-r--r--src/components/ui/Tabs/TabItem.tsx20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/components/ui/Tabs/TabItem.tsx b/src/components/ui/Tabs/TabItem.tsx
index 631586d62..815dced8c 100644
--- a/src/components/ui/Tabs/TabItem.tsx
+++ b/src/components/ui/Tabs/TabItem.tsx
@@ -1 +1,19 @@
1export default ({ children }) => <>{children}</>; 1import { Fragment, ReactElement } from 'react';
2
3export interface IProps {
4 children:
5 | string
6 | ReactElement<HTMLInputElement>
7 | (
8 | boolean
9 | ReactElement<HTMLInputElement>
10 | ReactElement<HTMLParagraphElement>
11 )[];
12 title?: string; // it is used on Tabs.tsx
13}
14
15function TabItem({ children, title = '' }: IProps): ReactElement {
16 return <Fragment key={title}>{children}</Fragment>;
17}
18
19export default TabItem;