I have used react-jdenticon
Tried to add border radius but it seems that it can not take the css styling on svg or canvas element.
Any suggestions for this?
import React from 'react';
import Jdenticon from 'react-jdenticon';
function Example(){
return(<Jdenticon size="48" value="Hello World" />);
}
If you want to customize the css styling on SVG images. I would suggest you to use the
jdenticonpackage for this purpose. Using thejdenticonbuild a custom component with the following code. Now you can add the CSS classes or any styling to SVG element which you wants to add.Now for the usage, you can use it in this way.