
Product
Go Support Is Now Generally Available
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
@leafygreen-ui/pipeline
Advanced tools
yarn add @leafygreen-ui/pipeline
npm install @leafygreen-ui/pipeline
<Pipeline size="xsmall" className="my-pipeline">
<Stage>$match</Stage>
<Stage>$addFields</Stage>
<Stage>$limit</Stage>
</Pipeline>
Prop | Type | Description | Default |
---|---|---|---|
className | string | Adds a className to the class attribute. | '' |
children | node | The content that will render inside of the component. If any nodes other than Stage components are passed in as children, the Pipeline component will automatically wrap them with Stage components. | undefined |
size | 'xsmall' , 'small' , 'normal' , 'large' | Sets the size variant of the Pipeline. | 'xsmall' |
darkMode | boolean | Determines if the component renders in dark theme | false |
... | native div attributes | Any other props will be spread on the root div element |
All other props will be spread onto the root element.
Prop | Type | Description | Default |
---|---|---|---|
className | string | Adds a className to the class attribute. | '' |
children | node | The content that will render inside of the component. | undefined |
threshold | number | number[] | Either a single number or an array of numbers which indicate at what percentage of the target's visibility, the observer's callback should be executed. | 0.8 |
... | native li attributes | Any other props will be spread on the root li element |
The Pipeline component will decorate the child Stage components with the size
and darkMode
prop that it is supplied with.
FAQs
LeafyGreen UI Kit Pipeline
The npm package @leafygreen-ui/pipeline receives a total of 40,205 weekly downloads. As such, @leafygreen-ui/pipeline popularity was classified as popular.
We found that @leafygreen-ui/pipeline demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers 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.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.
Security News
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.