@raystack/frontier 0.8.34 → 0.8.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raystack/frontier",
3
- "version": "0.8.34",
3
+ "version": "0.8.35",
4
4
  "description": "A js library for frontier",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -3,6 +3,17 @@ import React$1, { ComponentPropsWithRef, Dispatch, SetStateAction } from 'react'
3
3
  import * as _tanstack_react_router from '@tanstack/react-router';
4
4
  import { Router, Route } from '@tanstack/react-router';
5
5
 
6
+ interface AmountProps {
7
+ value: number;
8
+ currency?: string;
9
+ className?: string;
10
+ currencyClassName?: string;
11
+ decimalClassName?: string;
12
+ valueClassName?: string;
13
+ hideDecimals?: boolean;
14
+ }
15
+ declare function Amount({ currency, value, className, currencyClassName, decimalClassName, valueClassName, hideDecimals }: AmountProps): react_jsx_runtime.JSX.Element;
16
+
6
17
  type ContainerProps = ComponentPropsWithRef<'div'> & {
7
18
  children?: React$1.ReactNode;
8
19
  shadow?: 'none' | 'xs' | 'sm' | 'md' | 'lg';
@@ -3924,4 +3935,4 @@ declare const FrontierProvider: {
3924
3935
  displayName: string;
3925
3936
  };
3926
3937
 
3927
- export { Container, CreateOrganization, FrontierProvider, Header, MagicLink, MagicLinkVerify, OrganizationProfile, SignIn, SignUp, Window, useFrontier };
3938
+ export { Amount, Container, CreateOrganization, FrontierProvider, Header, MagicLink, MagicLinkVerify, OrganizationProfile, SignIn, SignUp, Window, useFrontier };