main

mattermost/focalboard

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

settings.tsx

TLDR

This file is a part of the Demo Projects project and it contains a React component SettingsIcon. It imports the CompassIcon component and the settings.scss style. The SettingsIcon component renders the CompassIcon component with a specific icon and CSS class.

Classes

SettingsIcon

This class is a React component that renders an icon for settings. It imports the CompassIcon component. The SettingsIcon component renders the CompassIcon component with the following props:

  • icon: Specifies the icon for settings.
  • className: Specifies the CSS class for the SettingsIcon component.
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

import React from 'react'

import CompassIcon from './compassIcon'

import './settings.scss'

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