"use client"; /* * Documentation: * Icon — https://app.subframe.com/f023064a5ca0/library?component=Icon_e24ec5dc-9821-430d-8254-1d72a7d46218 */ import React from "react"; import { FeatherCircle } from "@subframe/core"; import { FeatherCircleDashed } from "@subframe/core"; import * as SubframeCore from "@subframe/core"; import * as SubframeUtils from "../../utils"; export interface IconFeedbackIconProps extends React.ComponentProps { variant?: | "primary" | "secondary" | "tertiary" | "destructive" | "neutral" | "success" | "warning" | "information"; size?: "medium" | "small" | "large"; icon?: React.ReactNode; className?: string; } const IconFeedbackIcon = React.forwardRef< React.ElementRef, IconFeedbackIconProps >(function IconFeedbackIcon( { variant = "primary", size = "medium", icon = , className, ...otherProps }: IconFeedbackIconProps, ref ) { return icon ? ( {icon} ) : null; }); export interface IconRootProps extends React.HTMLAttributes { variant?: | "primary" | "secondary" | "tertiary" | "destructive" | "neutral" | "success" | "warning" | "information"; size?: "extra-small" | "small" | "medium" | "large" | "extra-large"; icon?: React.ReactNode; className?: string; } const IconRoot = React.forwardRef( function IconRoot( { variant = "primary", size = "medium", icon = , className, ...otherProps }: IconRootProps, ref ) { return (
{icon ? ( {icon} ) : null}
); } ); export const Icon = Object.assign(IconRoot, { IconFeedbackIcon, });