'In `recharts`, how to make the label text show in percent format

In recharts, how to make the label text show in percent format?

require(devtools)
devtools::install_github("cosname/recharts")

library(tidyverse)
library(recharts)
x = c(0.5,0.3,0.2)
names(x) = LETTERS[1:3]
ePie(x) + eTitle("test")


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source