summaryrefslogtreecommitdiffstats
path: root/src/components/atoms/icons/career.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/atoms/icons/career.tsx')
-rw-r--r--src/components/atoms/icons/career.tsx13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/components/atoms/icons/career.tsx b/src/components/atoms/icons/career.tsx
index aecab1e..28edcc7 100644
--- a/src/components/atoms/icons/career.tsx
+++ b/src/components/atoms/icons/career.tsx
@@ -1,17 +1,24 @@
-import { FC } from 'react';
+import { VFC } from 'react';
import styles from './career.module.scss';
+export type CareerProps = {
+ /**
+ * Set additional classnames to the icon.
+ */
+ className?: string;
+};
+
/**
* Career Component
*
* Render a career svg icon.
*/
-const Career: FC = () => {
+const Career: VFC<CareerProps> = ({ className = '' }) => {
return (
<svg
viewBox="0 0 100 100"
xmlns="http://www.w3.org/2000/svg"
- className={styles.icon}
+ className={`${styles.icon} ${className}`}
>
<path
className={styles.bottom}