Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
pioner-ant
Advanced tools
Wrapper for Ant design framework providing customized styling for components
Design library for Pioner
This project is based on Ant design.
This package will ultimately provide Pioner styled components for most Ant-components available.
Install by typing yarn add pioner-ant
The idea with this library is to provide a design library, based on Ant Design, that can be used for all Pioner products.
By default the library exports the original components from Ant, but the look and feel can easily be customized on a component level by extending the css-properties of the original components by using the styled-components pattern.
Here's an example of how to customize the Button component:
import { Button as _Button } from "antd";
import styled from "styled-components";
const Button = styled(_Button)`
background-color: pink;
color: white;
`;
export default Button;
import _Button from "antd/lib/icon";
export { _Button as Button };
import _Button from "./components/button";
export { _Button as Button };
FAQs
Wrapper for Ant design framework providing customized styling for components
We found that pioner-ant 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.