diff --git a/src/components/Icons/TraineeIcon.tsx b/src/components/Icons/TraineeIcon.tsx new file mode 100644 index 0000000..cdf9258 --- /dev/null +++ b/src/components/Icons/TraineeIcon.tsx @@ -0,0 +1,13 @@ +import type { FC } from "react"; +import { type IconBaseProps } from "react-icons"; +import { HiOutlineCubeTransparent } from "react-icons/hi2"; + +/** + * A generic Trainee icon. + * Where possible, an Identicon should be used. + * An appropriate usage contexts would include: + * - Create a trainee actions + **/ +export const TraineeIcon: FC = (props) => ( + +); diff --git a/src/components/Icons/icons.stories.tsx b/src/components/Icons/icons.stories.tsx index f0853a5..02e169e 100644 --- a/src/components/Icons/icons.stories.tsx +++ b/src/components/Icons/icons.stories.tsx @@ -4,6 +4,7 @@ import { IconBaseProps } from "react-icons"; import { MapDependentFeatureAttributesIcon, TraineeDefineIcon, + TraineeIcon, TraineeLoadIcon, TraineeTrainIcon, } from "."; @@ -22,22 +23,27 @@ const meta: Meta = { args: {}, render: (args) => (
- } - /> - } - /> - } - /> - } - /> +
+ } + /> + } + /> + } + /> + } + /> +
+
+ } /> +
), }; @@ -51,6 +57,21 @@ export const Default: Story = { args: {}, }; +type SectionProps = { + title: ReactNode; + children: ReactNode; +}; +const Section: FC = ({ title, children }) => { + return ( +
+
+

{title}

+
+
{children}
+
+ ); +}; + type IconWithLabelProps = { label: string; Icon: ReactNode }; const IconWithLabel: FC = ({ label, Icon }) => (
diff --git a/src/components/Icons/index.ts b/src/components/Icons/index.ts index 754912e..29e924a 100644 --- a/src/components/Icons/index.ts +++ b/src/components/Icons/index.ts @@ -1,4 +1,5 @@ export * from "./MapDependentFeatureAttributesIcon"; export * from "./TraineeDefineIcon"; +export * from "./TraineeIcon"; export * from "./TraineeLoadIcon"; export * from "./TraineeTrainIcon";