-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preview app: fix, move marketplace buttons (#1013)
* review app: fix, move marketplace buttons fix the unclosed VerticalTabsContent, move marketplace buttons to the paratext folder * fix foreground color in theme color display
- Loading branch information
1 parent
6deace3
commit d7cc488
Showing
4 changed files
with
35 additions
and
35 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
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
27 changes: 27 additions & 0 deletions
27
lib/platform-bible-react/src/preview/components/paratext/buttons.example.component.tsx
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import DownloadButton from '@/components/extension-marketplace/buttons/download-button.component'; | ||
import RemoveButton from '@/components/extension-marketplace/buttons/remove-button.component'; | ||
import UpdateButton from '@/components/extension-marketplace/buttons/update-button.component'; | ||
|
||
export default function MarketplaceButtonExamples() { | ||
return ( | ||
<> | ||
Download Button: | ||
<div className="pr-space-x-2"> | ||
<DownloadButton isDownloading={false} handleClick={() => {}} buttonText="Get" /> | ||
<DownloadButton isDownloading handleClick={() => {}} buttonText="Get" /> | ||
<DownloadButton isDownloading={false} handleClick={() => {}} /> | ||
<DownloadButton isDownloading handleClick={() => {}} /> | ||
</div> | ||
RemoveButton Button: | ||
<div className="pr-space-x-2"> | ||
<RemoveButton isRemoving={false} handleClick={() => {}} /> | ||
<RemoveButton isRemoving handleClick={() => {}} /> | ||
</div> | ||
UpdateButton Button: | ||
<div className="pr-space-x-2"> | ||
<UpdateButton isUpdating={false} handleClick={() => {}} /> | ||
<UpdateButton isUpdating handleClick={() => {}} /> | ||
</div> | ||
</> | ||
); | ||
} |