Skip to content

Commit

Permalink
named import
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Gupta <[email protected]>
Signed-off-by: Anand-Theertha <[email protected]>
  • Loading branch information
ShivamCoder23 authored and Anand-Theertha committed Jan 5, 2025
1 parent ebf827a commit 8ae1c68
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,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);
Expand All @@ -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;

0 comments on commit 8ae1c68

Please sign in to comment.