@vtex/admin-ui
Version:
> VTEX admin component library
10 lines (9 loc) • 388 B
TypeScript
import type { ReactNode } from 'react';
import type { ResolverRenderProps } from './core';
export declare function currencyResolver<T>(): import("./core").Resolver<T, "currency", CurrencyResolver<T>>;
export declare type CurrencyResolver<T> = {
type: 'currency';
locale: string;
currency: string;
render?: (props: ResolverRenderProps<string, T>) => ReactNode;
};