@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
11 lines (10 loc) • 409 B
TypeScript
import React from 'react';
import { BaseTextFieldProps } from '@mui/material/TextField/TextField';
export interface CopyTextFieldProps extends BaseTextFieldProps {
className?: string;
onChange?: (value: string) => void;
onCopy?: (value: string) => void;
value: string;
label?: string | React.ReactElement;
}
export default function CopyTextField(inProps: CopyTextFieldProps): JSX.Element;