mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
23 lines
438 B
TypeScript
23 lines
438 B
TypeScript
import InputField from 'sentry/components/deprecatedforms/inputField';
|
|
|
|
type Props = InputField['props'] & {
|
|
spellCheck?: string;
|
|
};
|
|
|
|
// XXX: This is ONLY used in GenericField. If we can delete that this can go.
|
|
|
|
/**
|
|
* @deprecated Do not use this
|
|
*/
|
|
export default class TextField extends InputField<Props> {
|
|
getAttributes() {
|
|
return {
|
|
spellCheck: this.props.spellCheck,
|
|
};
|
|
}
|
|
|
|
getType() {
|
|
return 'text';
|
|
}
|
|
}
|