-
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.
Merge branch 'main' of github.com:paranext/paranext-core into fix-tai…
…lwind-pattern-warning
- Loading branch information
Showing
15 changed files
with
3,801 additions
and
2,327 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
35 changes: 35 additions & 0 deletions
35
lib/platform-bible-react/src/preview/pages/layouts/dialog.layout.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,35 @@ | ||
import { Button } from '@/components/shadcn-ui/button'; | ||
import { | ||
Card, | ||
CardDescription, | ||
CardFooter, | ||
CardHeader, | ||
CardTitle, | ||
} from '@/components/shadcn-ui/card'; | ||
|
||
export default function DialogExamples() { | ||
return ( | ||
<> | ||
<Card className="tw-w-[350px]"> | ||
<CardHeader> | ||
<CardTitle>Confirm</CardTitle> | ||
<CardDescription>Are you really sure</CardDescription> | ||
</CardHeader> | ||
<CardFooter className="tw-flex tw-justify-between"> | ||
<Button variant="outline">Cancel</Button> | ||
<Button>Save</Button> | ||
</CardFooter> | ||
</Card> | ||
|
||
<div className="tw-h-4" /> | ||
|
||
<div className="tw-w-[350px] tw-rounded-md tw-border tw-p-4"> | ||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p> | ||
<div className="tw-flex tw-gap-2 tw-pt-4"> | ||
<Button variant="secondary">Proceed with unsaved changes</Button> | ||
<Button>Save</Button> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.