反应日历不呈现样式
React calendar not rendering styles
在 reactjs 中,react-calendar 无法正确呈现它看起来像 table。显示效果不佳it look like this 我是如何解决的
可以通过将以下导入添加到您的文件来导入样式:
import 'react-calendar/dist/Calendar.css';
在 reactjs 中,react-calendar 无法正确呈现它看起来像 table。显示效果不佳it look like this 我是如何解决的
可以通过将以下导入添加到您的文件来导入样式:
import 'react-calendar/dist/Calendar.css';