-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add copy button on add peer code box and remove check to shoe default…
… rule Co-authored-by: Sarooj Bukhari <[email protected]>
- Loading branch information
1 parent
8c94119
commit ddfb6a6
Showing
8 changed files
with
685 additions
and
504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
import { useState } from 'react'; | ||
import { useState } from "react"; | ||
|
||
import { Button } from "antd"; | ||
import TabSteps from "./TabSteps"; | ||
import { StepCommand } from "./types" | ||
|
||
import { StepCommand } from "./types"; | ||
|
||
export const OtherTab = () => { | ||
const [steps, _] = useState([ | ||
{ | ||
key: 1, | ||
title: "For other installation options check our documentation.", | ||
commands: ( | ||
<Button | ||
type="primary" | ||
href={`https://docs.netbird.io/how-to/getting-started#binary-install`} | ||
target="_blank" | ||
> | ||
Documentation | ||
</Button> | ||
), | ||
copied: false, | ||
} as StepCommand, | ||
]); | ||
|
||
const [steps, _] = useState([ | ||
{ | ||
key: 1, | ||
title: 'For other installation options check our documentation.', | ||
commands: ( | ||
<Button type="primary" href={`https://docs.netbird.io/how-to/getting-started#binary-install`} target="_blank"> | ||
Documentation | ||
</Button> | ||
), | ||
copied: false, | ||
} as StepCommand, | ||
]) | ||
|
||
return ( | ||
<TabSteps stepsItems={steps} /> | ||
) | ||
} | ||
return <TabSteps stepsItems={steps} />; | ||
}; | ||
|
||
export default OtherTab | ||
export default OtherTab; |
Oops, something went wrong.