File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import React , { ReactNode } from "react"
2
+ import { Flex , Heading , Text } from "@chakra-ui/react"
2
3
import Emoji from "./Emoji"
3
- import { Flex , Text } from "@chakra-ui/react"
4
4
5
5
export interface IProps {
6
6
children ?: React . ReactNode
@@ -20,7 +20,7 @@ const Card: React.FC<IProps> = ({
20
20
< Flex
21
21
direction = "column"
22
22
bg = "ednBackground"
23
- borderRadius = "2px "
23
+ borderRadius = "sm "
24
24
border = "1px"
25
25
borderStyle = "solid"
26
26
borderColor = "lightBorder"
@@ -32,9 +32,9 @@ const Card: React.FC<IProps> = ({
32
32
< Emoji fontSize = "5xl" text = { emoji } mb = { 4 } display = "inline-block" />
33
33
) }
34
34
{ title && (
35
- < Text as = "h3" mt = { 0 } >
35
+ < Heading as = "h3" mt = { 0 } fontSize = "2xl" lineHeight = { 1.4 } >
36
36
{ title }
37
- </ Text >
37
+ </ Heading >
38
38
) }
39
39
{ description && (
40
40
< Text opacity = { 0.8 } m = { 0 } >
You can’t perform that action at this time.
0 commit comments