import * as React from "@lynx-js/react"; import { Switch as SeedSwitch } from "@seed-design/lynx-react"; export interface SwitchProps extends SeedSwitch.RootProps { label?: React.ReactNode; } /** * @see https://seed-design.io/lynx/components/switch */ export const Switch = React.forwardRef( ({ label, children, "accessibility-label": accessibilityLabel, ...otherProps }, ref) => { return ( {label != null ? {label} : null} {children} ); }, ); Switch.displayName = "Switch"; export interface SwitchmarkProps extends Omit {} /** * `Switch.Root` 안에서 레이블 없이 스위치 모양만 렌더링합니다. * * @see https://seed-design.io/lynx/components/switch */ export const Switchmark = React.forwardRef((props, ref) => { return ( ); }); Switchmark.displayName = "Switchmark";