From 1f786665fc9b0035d8438369aba1c749db3f2f28 Mon Sep 17 00:00:00 2001 From: Shivam Gupta Date: Sun, 5 Jan 2025 16:12:26 +0000 Subject: [PATCH] named import Signed-off-by: Shivam Gupta --- src/reusecore/Blockquote/Blockquote-alt-style/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/reusecore/Blockquote/Blockquote-alt-style/index.js b/src/reusecore/Blockquote/Blockquote-alt-style/index.js index 2e3f47a0a2b7..9ea19c33b208 100644 --- a/src/reusecore/Blockquote/Blockquote-alt-style/index.js +++ b/src/reusecore/Blockquote/Blockquote-alt-style/index.js @@ -2,7 +2,8 @@ import React from "react"; import PropTypes from "prop-types"; import BlockquoteStyle from "./blockquote.style"; -const Blockquote = ({ className, ...props }) => { +export { BlockquoteAlt }; +const BlockquoteAlt = ({ className, ...props }) => { const AllClasses = ["blockquote"]; if (className) { AllClasses.push(className); @@ -24,11 +25,11 @@ const Blockquote = ({ className, ...props }) => { ); }; -Blockquote.propTypes = { +BlockquoteAlt.propTypes = { quote: PropTypes.string, person: PropTypes.string, title: PropTypes.string, className: PropTypes.string, }; -export default Blockquote; +export default BlockquoteAlt;