-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: Improve signup styles for when email authentication is disabled (
- Loading branch information
Showing
3 changed files
with
42 additions
and
33 deletions.
There are no files selected for viewing
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { FC, ReactNode } from 'react' | ||
import classNames from 'classnames' | ||
|
||
type CardType = { | ||
children: ReactNode | ||
className?: string | ||
contentClassName?: string | ||
} | ||
|
||
const Card: FC<CardType> = ({ children, className, contentClassName }) => { | ||
return ( | ||
<div className={`rounded-3 panel panel-default ${className || ''}`}> | ||
<div className={classNames('panel-content p-4', contentClassName)}> | ||
{children} | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Card |
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