refactor: RelevantBlogPosts bgcolor -> option props

This commit is contained in:
unknown 2021-09-08 10:37:04 +07:00
parent 83fcfc3d65
commit c1f7d9d7ab

View File

@ -14,7 +14,7 @@ interface RelevantProps {
itemKey?: string, itemKey?: string,
title?: string, title?: string,
viewAllLink?: string, viewAllLink?: string,
bgcolor: "default" | "cream" bgcolor?: "default" | "cream"
} }
const recipe:BlogCardProps[] = [ const recipe:BlogCardProps[] = [