import { component$, Slot, useStylesScoped$ } from '@builder.io/qwik'; import styles from './line.css?inline'; export interface LineProps { showStart?: boolean; showEnd?: boolean; class?: string; } export default component$((props: LineProps) => { useStylesScoped$(styles); return (
{props.showStart !== false && (
)}
{props.showEnd !== false && (
)}
); });