import { ForwardedRef, forwardRef } from 'react' import { Address } from '@lidofinance/address' import { IdenticonBadgeProps } from './types' import { IdenticonBadgeStyle, AddressWrapperStyle } from './IdenticonStyles' import Identicon from './Identicon' function IdenticonBadge( props: IdenticonBadgeProps, ref?: ForwardedRef ) { const { symbols = 3, color = 'background', diameter, address, paperStyles, svgStyles, ...rest } = props const identiconProps = { address, diameter, paperStyles, svgStyles } return ( {symbols > 0 ? (
) : ( '' )} ) } export default forwardRef(IdenticonBadge)