tscircuit/ti

ti tscircuit library

Version
1.0.85
License
unset
Stars
0

lib/chips/TPS63802.circuit.tsx

PCBPCB preview for lib/chips/TPS63802.circuit.tsx
SchematicSchematic preview for lib/chips/TPS63802.circuit.tsx
import type { ComponentProps } from "react";

import { TPS63802DLAR } from "./TPS63802DLAR.circuit.tsx";

type TPS63802FootprintVariant = "vson_hr_10" | (string & {});

type TPS63802Props = ComponentProps<typeof TPS63802DLAR> & {
  footprintVariant?: TPS63802FootprintVariant;
};

export const TPS63802 = ({
  footprintVariant = "vson_hr_10",
  ...props
}: TPS63802Props) => {
  if (footprintVariant === "vson_hr_10") {
    return <TPS63802DLAR {...props} />;
  }

  return <TPS63802DLAR {...props} />;
};