react-reactions
react-reactions copied to clipboard
Font issue fixed, custom style for slack counter
Now we don't need to put slack fonts in public/fonts directory We can pass slack counter style properties like below
const styles = {
addStyle: {
paddingLeft: '4px',
opacity: '1',
},
};
<SlackCounter styles={styles} />
This styles will be merged with default addStyle
Hey @princesust,
Thanks for the PR, I can take a look at it in a couple of hours after I'm done with my work day.
Thank you for taking the time to open the PR.
Hi @charkour, I test it directly from local and it was working perfectly. Later when I put build command it showing some errors. May be it's tsdx or typescript related issue. I am not familiar with tsdx and typescript. Maybe you can fix it. I removed fonts from example folder and run it and it's working.