Refactor/inplace input (#541)
* wip * Changed all other components * Removed console log * Console.log * lint * Removed internal state * Fix * Lint
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
import { humanReadableDate } from '@/utils/utils';
|
||||
|
||||
type OwnProps = {
|
||||
value: Date;
|
||||
};
|
||||
|
||||
export function InplaceInputDateDisplayMode({ value }: OwnProps) {
|
||||
return <div>{value && humanReadableDate(value)}</div>;
|
||||
}
|
||||
Reference in New Issue
Block a user