UNPKG

@payfit/unity-components

Version:

21 lines (20 loc) 788 B
import { forwardRef as e } from "react"; import { uyTv as t } from "@payfit/unity-themes"; import { jsx as n } from "react/jsx-runtime"; //#region src/components/bottom-sheet/parts/BottomSheetFooter.tsx var r = t({ base: [ "uy:py-150 uy:px-300 uy:w-full", "uy:flex uy:items-center uy:justify-end uy:gap-100 uy:shrink-0", "uy:bg-surface-neutral uy:border-t uy:border-solid uy:border-border-neutral", "uy:sticky uy:bottom-0 uy:z-10", "uy:mt-auto", "uy:pb-[max(env(safe-area-inset-bottom),var(--uy-spacing-200))] uy:md:pb-200" ] }), i = e(({ children: e, className: t, ...i }, a) => /* @__PURE__ */ n("footer", { ref: a, className: r({ class: t }), ...i, children: e })); i.displayName = "BottomSheetFooter"; //#endregion export { i as BottomSheetFooter, r as bottomSheetFooter };