Hiyve Components - v1.0.0
    Preparing search index...

    Custom icons for the ChatPanel component.

    All icons in the ChatPanel can be replaced with custom React nodes. This allows using different icon libraries or custom SVGs.

    import { FaPaperPlane, FaComments } from 'react-icons/fa';

    const customIcons: Partial<ChatPanelIcons> = {
    send: <FaPaperPlane />,
    chat: <FaComments />,
    };

    <ChatPanel icons={customIcons} />
    interface ChatPanelIcons {
        chat: ReactNode;
        send: ReactNode;
    }
    Index

    Properties

    Properties

    chat: ReactNode

    Chat header icon

    send: ReactNode

    Send button icon