From 364822f894120559f3b8a6d193fa58811e114ba8 Mon Sep 17 00:00:00 2001 From: mahdi Date: Mon, 30 May 2022 09:51:09 +0430 Subject: [PATCH] update src/components/Blog/Design7/index.js and src/components/ButtonDesign/Button/index.js --- src/components/Blog/Design7/index.js | 15 +++++++++------ src/components/ButtonDesign/Button/index.js | 1 + 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/components/Blog/Design7/index.js b/src/components/Blog/Design7/index.js index 9786369..924ce38 100644 --- a/src/components/Blog/Design7/index.js +++ b/src/components/Blog/Design7/index.js @@ -1,11 +1,12 @@ import React from "react"; -const Design7 = () => { +const Design7 = ({ featuredImage, featuredImageClassname }) => { return ( -
+
blog
); @@ -14,9 +15,11 @@ const Design7 = () => { export default Design7; Design7.defaultProps = { - -} + featuredImage: "images/offersectionalex-lvrs-HDjExSGuWUw-unsplash.svg", + featuredImageClassname: "", +}; +// // offersectionalexander-mils-nG4ZimMIO_k-unsplash.svg diff --git a/src/components/ButtonDesign/Button/index.js b/src/components/ButtonDesign/Button/index.js index 1d0bdb7..0c5cf7c 100644 --- a/src/components/ButtonDesign/Button/index.js +++ b/src/components/ButtonDesign/Button/index.js @@ -23,6 +23,7 @@ const Button = ({ }; export default Button; + Button.defaultProps = { className: "bg-red-400 text-white hover:bg-gray-900 border border-b-4 border-lightBlueBorderColor rounded text-sm px-4 py-4 hover:bg-opacity-90",