tscircuit/ti

ti tscircuit library

Version
1.0.85
License
unset
Stars
0

lib/chips/HDC2080.circuit.tsx

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

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

type HDC2080FootprintVariant = "wson_6_ep_3x3" | (string & {});

type HDC2080Props = ComponentProps<typeof HDC2080DMBR> & {
  footprintVariant?: HDC2080FootprintVariant;
};

export const HDC2080 = ({
  footprintVariant = "wson_6_ep_3x3",
  ...props
}: HDC2080Props) => {
  if (footprintVariant === "wson_6_ep_3x3") {
    return <HDC2080DMBR {...props} />;
  }

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