Files
vod-system/frontend/src/components/Selector.tsx
Dylan De Faoite eab3f8be20
All checks were successful
CI / Maven unit tests (push) Successful in 14s
CI / Build and push images (push) Has been skipped
CI / Deploy to server (push) Has been skipped
restyle the rest of the pages
2026-08-02 16:32:00 +01:00

17 lines
474 B
TypeScript

import React from "react";
type Props = {
children: React.ReactNode;
label: string;
};
// Label on the left, control on the right — the shape used for export settings.
const Selector = ({ children, label }: Props) => (
<div className="flex items-center justify-between gap-4">
<label className="font-body text-[13px] text-text-body">{label}</label>
<div className="w-32 flex-shrink-0">{children}</div>
</div>
);
export default Selector;