Skip to content

Instantly share code, notes, and snippets.

@elsangedy
elsangedy / component.js
Last active November 18, 2020 18:52
i18next
import React from 'react'
import { useT } from './hook.js'
const Comp = () => {
const { t, tDate, tTime, tDateTime, tCurrency } = useT()
const myDate = '1993-05-07T17:30:00z'
const myCurrency = 100