package blocks type Icons int const ( Icons_Info Icons = iota Icons_Error Icons_Success Icons_Warning ) func (v Icons) Render() templ.Component { return renderIconVariant(v) } templ renderIconVariant(v Icons) { switch v { case Icons_Info: case Icons_Error: case Icons_Success: case Icons_Warning: } } templ SonrIcon() { }