1
0
Fork 0

Added Blockquote React component

This commit is contained in:
Joost De Cock 2019-05-18 17:19:47 +02:00
parent 8bf0e56e6f
commit f4a1566bcc

View 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;