aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/icons/cc-by-sa.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/atoms/icons/cc-by-sa.tsx')
-rw-r--r--src/components/atoms/icons/cc-by-sa.tsx13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/components/atoms/icons/cc-by-sa.tsx b/src/components/atoms/icons/cc-by-sa.tsx
index adc8b79..552504e 100644
--- a/src/components/atoms/icons/cc-by-sa.tsx
+++ b/src/components/atoms/icons/cc-by-sa.tsx
@@ -1,18 +1,25 @@
-import { FC } from 'react';
+import { VFC } from 'react';
import { useIntl } from 'react-intl';
import styles from './cc-by-sa.module.scss';
+export type CCBySAProps = {
+ /**
+ * Set additional classnames to the icon.
+ */
+ className?: string;
+};
+
/**
* CCBySA component
*
* Render a CC BY SA svg icon.
*/
-const CCBySA: FC = () => {
+const CCBySA: VFC<CCBySAProps> = ({ className = '' }) => {
const intl = useIntl();
return (
<svg
- className={styles.icon}
+ className={`${styles.icon} ${className}`}
viewBox="0 0 211.99811 63.999996"
xmlns="http://www.w3.org/2000/svg"
>