folder.tsx
TLDR
This file exports a functional component called Folder
which renders an icon of a folder using the CompassIcon
component.
Classes
CompassIcon
This class is imported from the './compassIcon' file. It is used to render an icon with the specified icon
and className
props.
// 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 Folder(): JSX.Element {
return (
<CompassIcon
icon='folder-outline'
className='Folder'
/>
)
}