mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
13 lines
379 B
TypeScript
13 lines
379 B
TypeScript
import type { IEditorCellProps } from "@src/components/fields/types";
|
|
import EditorCellTextField from "@src/components/Table/EditorCellTextField";
|
|
|
|
export default function Number_(props: IEditorCellProps<number>) {
|
|
return (
|
|
<EditorCellTextField
|
|
{...(props as any)}
|
|
InputProps={{ type: "number" }}
|
|
onSubmit={(v) => props.onSubmit(Number(v))}
|
|
/>
|
|
);
|
|
}
|