
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
tenhigh-ecommerce-ui
Advanced tools
// 这样引入打包后在其他项目引入,会报错 React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
import Button from '@mui/material/Button';
// 这样引入就不会报错
import {Button} from '@mui/material';
https://tailwindcss.com/docs/installation
// 编译
npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch
// 使用 export
// export const Dialog = ...
// 不使用 export default
// const Dialog = ...
// export default Dialog
FAQs
template for react component
We found that tenhigh-ecommerce-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.