Skip to content

Commit

Permalink
fix: resolve blockquote alt import issue
Browse files Browse the repository at this point in the history
Signed-off-by: Tharanishwaran <[email protected]>
  • Loading branch information
Tharanishwaran committed Jan 5, 2025
1 parent 7ae5356 commit 334a347
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 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,9 @@ 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);
Expand All @@ -24,11 +26,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;

0 comments on commit 334a347

Please sign in to comment.