import { FunctionComponent } from 'preact';
const HorizontalLine: FunctionComponent<{ index: number; length: number }> = ({
index,
length,
}) =>
index < length - 1 ? (
) : null;
export const PreferencesSegment: FunctionComponent = ({ children }) => (
{children}
);
export const PreferencesGroup: FunctionComponent = ({ children }) => (
{!Array.isArray(children)
? children
: children.map((c, i, arr) => (
<>
{c}
>
))}
);
export const PreferencesPane: FunctionComponent = ({ children }) => (
);