diff --git a/src/lib/index.ts b/src/lib/index.ts new file mode 100644 index 00000000..50febe71 --- /dev/null +++ b/src/lib/index.ts @@ -0,0 +1,2 @@ +export * from './util'; +export * from './massa-react'; diff --git a/src/lib/massa-react/index.ts b/src/lib/massa-react/index.ts index 3ae959ab..4ba531b3 100644 --- a/src/lib/massa-react/index.ts +++ b/src/lib/massa-react/index.ts @@ -1,2 +1,3 @@ export * from './hooks/useWriteSmartContract'; export * from './hooks/useHandleOperation'; +export * from './utils'; diff --git a/src/lib/massa-react/utils/index.tsx b/src/lib/massa-react/utils/index.tsx index 3dfa0e84..bd623bb6 100644 --- a/src/lib/massa-react/utils/index.tsx +++ b/src/lib/massa-react/utils/index.tsx @@ -86,3 +86,5 @@ export function showToast( toast.success(content, { duration }); } } + +export * from './const'; diff --git a/src/lib/util/index.ts b/src/lib/util/index.ts new file mode 100644 index 00000000..97b42a5a --- /dev/null +++ b/src/lib/util/index.ts @@ -0,0 +1,3 @@ +export * from './handlePercent'; +export * from './parseAmount'; +export * from './truncate';