Skip to content

Commit dad4c7d

Browse files
Merge pull request #6167 from ShivamCoder23/component/import
add named import to fix import error
2 parents 7ae5356 + 2fe6c48 commit dad4c7d

File tree

1 file changed

+4
-3
lines changed
  • src/reusecore/Blockquote/Blockquote-alt-style

1 file changed

+4
-3
lines changed

src/reusecore/Blockquote/Blockquote-alt-style/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from "react";
22
import PropTypes from "prop-types";
33
import BlockquoteStyle from "./blockquote.style";
44

5-
const Blockquote = ({ className, ...props }) => {
5+
const BlockquoteAlt = ({ className, ...props }) => {
66
const AllClasses = ["blockquote"];
77
if (className) {
88
AllClasses.push(className);
@@ -24,11 +24,12 @@ const Blockquote = ({ className, ...props }) => {
2424
);
2525
};
2626

27-
Blockquote.propTypes = {
27+
BlockquoteAlt.propTypes = {
2828
quote: PropTypes.string,
2929
person: PropTypes.string,
3030
title: PropTypes.string,
3131
className: PropTypes.string,
3232
};
3333

34-
export default Blockquote;
34+
export default BlockquoteAlt;
35+
export { BlockquoteAlt };

0 commit comments

Comments
 (0)