mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 17:50:56 +00:00
15 lines
492 B
TypeScript
15 lines
492 B
TypeScript
import React from 'react';
|
|
interface AmPmInputProps extends Omit<React.ComponentPropsWithoutRef<'select'>, 'value' | 'onChange'> {
|
|
labels: {
|
|
am: string;
|
|
pm: string;
|
|
};
|
|
value: string | null;
|
|
inputType: 'select' | 'input';
|
|
onChange: (value: string | null) => void;
|
|
readOnly?: boolean;
|
|
onPreviousInput?: () => void;
|
|
}
|
|
export declare const AmPmInput: React.ForwardRefExoticComponent<AmPmInputProps & React.RefAttributes<HTMLSelectElement>>;
|
|
export {};
|