[英]is there any NPM package which can help me out with this situation?
i'm working on a project and suddenly i got stuck here is the problem.我正在做一个项目,突然我被困在这里是问题所在。
here is a image to describe what i'm writing for这是一张图片来描述我在写什么
what we call these type of component in react is there any npm package available for this, or do i have to make this from scratch?我们在反应中称这些类型的组件是否有任何 npm package 可用于此,还是我必须从头开始制作?
Could you use a JSON file to store the data?您可以使用 JSON 文件来存储数据吗? It's a bit difficult to help you based on the little information that you've given, but you can write your data as such:
根据您提供的少量信息来帮助您有点困难,但是您可以这样编写数据:
{
time:"8 AM"
}
I wouldn't think it to be necessary to use an NPM package for this.我认为没有必要为此使用 NPM package 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.