-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): add prequalified requests (#277)
- Loading branch information
1 parent
1a61f15
commit 4fa383b
Showing
12 changed files
with
249 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** @jsxImportSource theme-ui */ | ||
|
||
import PropTypes from "prop-types"; | ||
|
||
export const Fieldset = ({ children, title, ...props }) => ( | ||
<fieldset | ||
sx={{ | ||
backgroundColor: "#fdfdfd", | ||
bordeColor: "text", | ||
border: "1px solid", | ||
borderRadius: "small", | ||
p: "xsmall", | ||
}} | ||
{...props} | ||
> | ||
<legend | ||
sx={{ | ||
fontWeight: "bold", | ||
}} | ||
> | ||
{title} | ||
</legend> | ||
{children} | ||
</fieldset> | ||
); | ||
|
||
Fieldset.propTypes = { | ||
children: PropTypes.node, | ||
title: PropTypes.string, | ||
}; |
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
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
Oops, something went wrong.