react-reactions icon indicating copy to clipboard operation
react-reactions copied to clipboard

Font issue fixed, custom style for slack counter

Open princesust opened this issue 2 years ago • 2 comments

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

princesust avatar Aug 15 '22 19:08 princesust

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.

charkour avatar Aug 15 '22 19:08 charkour

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.

princesust avatar Aug 15 '22 20:08 princesust