main

mattermost/focalboard

Last updated at: 29/12/2023 09:51

message.tsx

TLDR

This file exports a React component called MessageIcon that renders an icon representing a message.

Classes

MessageIcon

This class is a React component that renders an icon representing a message. It imports the CompassIcon component from './compassIcon' and uses it to render the actual icon. The MessageIcon component takes no props and returns a JSX element.

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

import React from 'react'

import CompassIcon from './compassIcon'

export default function MessageIcon(): JSX.Element {
    return (
        <CompassIcon
            icon='message-text-outline'
            className='MessageIcon'
        />
    )
}