tscircuit/ti

ti tscircuit library

Version
1.0.85
License
unset
Stars
0

lib/chips/TMP1075.circuit.tsx

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

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

type TMP1075FootprintVariant = "wson_8_ep_2x2" | (string & {});

type TMP1075Props = ComponentProps<typeof TMP1075DSGR> & {
  footprintVariant?: TMP1075FootprintVariant;
};

export const TMP1075 = ({
  footprintVariant = "wson_8_ep_2x2",
  ...props
}: TMP1075Props) => {
  if (footprintVariant === "wson_8_ep_2x2") {
    return <TMP1075DSGR {...props} />;
  }

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