diff --git a/src/components/tool/uuid.tsx b/src/components/tool/uuid.tsx index a9e5003..3d8464b 100644 --- a/src/components/tool/uuid.tsx +++ b/src/components/tool/uuid.tsx @@ -1,3 +1,22 @@ -import type { FC } from "react"; +import { type FC } from "react"; -export const UUID: FC = () =>
UUID
\ No newline at end of file +import * as uuid from 'uuid' +import { nanoid } from 'nanoid' + +export const UUID: FC = () => { + return ( +
+ Refresh the page to generate new UUID + + {uuid.v1()} + + {uuid.v4()} + + {uuid.v6()} + + {uuid.v7()} + + {nanoid()} +
+ ); +}; \ No newline at end of file