phone.tsx
TLDR
This file is a React component that renders a phone input field within a text editor.
Methods
There are no methods in this file.
Classes
There are no classes 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 Phone = (props: PropertyProps): JSX.Element => {
return (
<BaseTextEditor
{...props}
validator={() => true}
/>
)
}
export default Phone