import React from 'react'; import { SelectProps } from '@bigbinary/neetoui'; type CurrencyProps = { allowedCurrencies?: string[]; } & SelectProps; /** * * A component that allows you to select a currency. * * ![Screenshot](https://github.com/bigbinary/neeto-molecules/assets/10956193/422f706f-8873-4091-866f-f09c24958b69|height=200|width=300) * * @example * * import { useState } from "react"; * import { Currency } from "@bigbinary/neeto-molecules/Currency"; * * const CurrencyContainer = () => { * const [currency, setCurrency] = useState(); * return ; * }; * @endexample * The Currency component wrapped in Formik. * * @example * * import * as yup from "yup"; * import { FormikCurrency } from "@bigbinary/neeto-molecules/Currency"; * * const FormikCurrencyContainer = () => { * return ( *
* *