UNPKG

@mescius/dspdfviewer

Version:
14 lines (13 loc) 777 B
/// <reference path="../../../vendor/react/react.d.ts" /> //@ts-ignore import React, { Component } from 'react'; //@ts-ignore import { Size, DateTimeValue } from '@grapecity/core-ui'; import { DateTimeEditorLocalization, DateTimeEditorProps } from './types'; import GcPdfViewer from '../../../GcPdfViewer'; export declare function renderDateTime(dateTimeValue: DateTimeValue | undefined | null, onChange: (color: DateTimeValue | undefined | null) => void, localization: DateTimeEditorLocalization, size?: Size, readOnly?: boolean): React.JSX.Element; export declare class DateTimeEditor extends Component<DateTimeEditorProps> { onChange: (dateTimeValue: DateTimeValue | undefined | null) => void; render(): React.JSX.Element; get viewer(): GcPdfViewer; }