summaryrefslogtreecommitdiff
path: root/src/components/ContainedList.tsx
blob: e514e54850fc15ded45a012f53da9462298aeb73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;