summaryrefslogtreecommitdiff
path: root/src/components/ContainedList.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ContainedList.tsx')
-rw-r--r--src/components/ContainedList.tsx16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/ContainedList.tsx b/src/components/ContainedList.tsx
new file mode 100644
index 0000000..e514e54
--- /dev/null
+++ b/src/components/ContainedList.tsx
@@ -0,0 +1,16 @@
+import type { ComponentChildren } from 'preact';
+import './ContainedList.css';
+
+export interface ContainedListProps {
+ children: ComponentChildren;
+}
+
+const ContainedList = ({ children }: ContainedListProps) => {
+ return (
+ <ul class="__ContainedList">
+ {children}
+ </ul>
+ );
+};
+
+export default ContainedList; \ No newline at end of file