text.tsx
TLDR
This file contains a React component named Text
that renders a BaseTextEditor
component with some props.
Classes (if applicable)
There are no classes defined in this file.
Methods (if applicable)
There are no methods defined in this file.
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import React from 'react'
import {PropertyProps} from '../types'
import BaseTextEditor from '../baseTextEditor'
const Text = (props: PropertyProps): JSX.Element => {
return (
<BaseTextEditor
{...props}
validator={() => true}
spellCheck={true}
/>
)
}
export default Text