Declare interface and make isNoBorder optional
This commit is contained in:
@@ -253,9 +253,12 @@ const SectionWrap =
|
||||
}
|
||||
`;
|
||||
|
||||
interface SectionTitleProps {
|
||||
isNoBorder?: boolean;
|
||||
}
|
||||
const SectionTitle =
|
||||
styled(Heading) <
|
||||
{ isNoBorder: boolean } >
|
||||
SectionTitleProps >
|
||||
`
|
||||
position: relative;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user