/*! Strand UI | MIT License | dillingerstaffing.com */ import type { JSX } from "preact"; import { forwardRef } from "preact/compat"; import { cx } from "../../internal/index.js"; export interface FeatureSurfaceProps extends JSX.HTMLAttributes { /** Element to render. */ as?: "div" | "article" | "section"; /** Inner padding; `none` also clips children to the radius. */ padding?: "none" | "sm" | "md" | "lg" | "xl"; className?: string; } /** * The single emphasised dark surface of a view (DL 9.3); ordinary text primitives inside it retint themselves. * * @example *

Ship 042

*/ export const FeatureSurface = forwardRef( ({ as = "div", padding = "md", className = "", children, ...rest }, ref) => { const Tag = as as "div"; return ( {children} ); }, ); FeatureSurface.displayName = "FeatureSurface";