✨ Added Blockquote React component
This commit is contained in:
parent
8bf0e56e6f
commit
f4a1566bcc
1 changed files with 13 additions and 0 deletions
13
packages/components/src/Blockquote/index.js
Normal file
13
packages/components/src/Blockquote/index.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
import React from "react";
|
||||
import Icon from "../Icon";
|
||||
|
||||
const Blockquote = ({ type, children }) => {
|
||||
return (
|
||||
<blockquote className={type}>
|
||||
{children}
|
||||
<Icon icon={type} className={"icon " + type} />
|
||||
</blockquote>
|
||||
);
|
||||
};
|
||||
|
||||
export default Blockquote;
|
Loading…
Add table
Add a link
Reference in a new issue