multiperson.tsx
TLDR
This file contains a React component called MultiPerson that renders the ConfirmPerson component with some additional props.
Classes
MultiPerson
The MultiPerson class is a React component that renders the ConfirmPerson component with some additional props. It accepts a single prop called props, which is an object of type PropertyProps. This component is responsible for rendering a multi-person feature.
Methods
None
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import React from 'react'
import {PropertyProps} from '../types'
import ConfirmPerson from '../person/confirmPerson'
const MultiPerson = (props: PropertyProps): JSX.Element => {
return (
<ConfirmPerson
{...props}
showEmptyPlaceholder={true}
/>
)
}
export default MultiPerson