Skip to content

Commit

Permalink
Merge pull request #6167 from ShivamCoder23/component/import
Browse files Browse the repository at this point in the history
add named import to fix import error
  • Loading branch information
sudhanshutech authored Jan 5, 2025
2 parents 7ae5356 + 2fe6c48 commit dad4c7d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/reusecore/Blockquote/Blockquote-alt-style/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import PropTypes from "prop-types";
import BlockquoteStyle from "./blockquote.style";

const Blockquote = ({ className, ...props }) => {
const BlockquoteAlt = ({ className, ...props }) => {
const AllClasses = ["blockquote"];
if (className) {
AllClasses.push(className);
Expand All @@ -24,11 +24,12 @@ 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;
export { BlockquoteAlt };

0 comments on commit dad4c7d

Please sign in to comment.