import { type iComponent } from "https://deno.land/x/lunchbox@v0.3.15/src/types.ts";
This type is used for standarizing all components. By design every component must have a protagonic HTMLElement that inherits its attributes, the GenericComponent properties, Aria atributes, and Event Handlers. See more
fref?
(Ref):
Short for "Forwarded Reference". This prop allows the component to receive a preact reference
that points to the protagonist HTMLElement in the component.
nostyle?
(boolean):
This prop removes the default styles of the component.
nostyleAll?
(boolean):
This prop removes the default styles and the class names of all HTMLElements in the component.
Type Parameters
optional
T extends EventTarget = HTMLElement