main

mattermost/focalboard

Last updated at: 28/12/2023 01:42

cardActionsMenuIcon.tsx

TLDR

The cardActionsMenuIcon.tsx file is a React component that renders an icon button for a card actions menu.

Classes

CardActionsMenuIcon

The CardActionsMenuIcon class is a React component that renders an icon button. It imports the OptionsIcon and IconButton components from the respective files. When rendered, it displays the IconButton with the OptionsIcon as the icon. It has the CSS class CardActionsMenuIcon for styling purposes.

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

import React from 'react'

import OptionsIcon from '../../widgets/icons/options'
import IconButton from '../../widgets/buttons/iconButton'

import './cardActionsMenuIcon.scss'

const CardActionsMenuIcon = () => {
    return (
        <IconButton
            className='CardActionsMenuIcon'
            icon={<OptionsIcon/>}
        />
    )
}

export default CardActionsMenuIcon