tjtanjin / react-chatbotify

A modern React library for creating a flexible and extensible chatbot.
https://react-chatbotify.tjtanjin.com/
MIT License
103 stars 49 forks source link

enh: set css properties type to style in options #53

Closed HaecheonLee closed 2 months ago

HaecheonLee commented 2 months ago

Description

This PR sets the right type to styles in the Options type.

What change does this PR introduce?

Please select the relevant option(s).

What is the proposed approach?

This replaces types of the index-key type by the type, React.CSSProperties

Checklist:

tjtanjin commented 2 months ago

Hey @HaecheonLee, noticed that you've made the same PR to the main branch previously. It's been a while since I brought the working branch up to date but I've just merged main into working-branch-2.0.0. If you can confirm there are no additional changes here, trouble you to close off this PR. Thank you!

HaecheonLee commented 2 months ago

Looks good. I can work on the branch. Thank you!