Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
react-losen
Advanced tools
A brutallty simple wizard for React and React Native.
Note: This module is currently in beta. First official release is right around the corner, and will include some nice changes:
Please submit issues/feedback on GitHub ✌️
yarn add react-losen
import { Wizard, Step, Controls } from 'react-losen';
<Wizard
render={() => (
<>
<Step name="start">Step one</Step>
<Step name="second-step">This is the second step</Step>
<Step name="final-step">Click next to finish</Step>
<Controls
render={(onNext, onPrevious, isFirstStep) => (
<>
<Button onClick={onPrevious} disabled={isFirstStep}>
Previous
</Button>
<Button onClick={onNext}>Next</Button>
</>
)}
/>
</>
)}
/>;
react-losen
is built with React and it's Context API under the hood. We use render props to expose functionality to child components.
Use docz:dev
to spin up a dev server which let's you view and play with the source components. To get started, create a .md
in the ./pages
directory. It uses MDX which let's you import and write
JSX within markdown documents. For more info out the Docz website and read up on the MDX spec.
yarn build
This command uses @pika/pack
to build for browsers. Plugins are specified under @pika/pack
in package.json
.
Publish new versions with yarn pack:publish
. Pika guides you through the Through a wizard, this helps you bump the version number and publish to npm.
The documentation is built by running yarn docz:build
. This generates a static site in ./docs/
. Currently the site is deployed and hosted with Zeit's Now.
react-losen use SemVer for versioning. For the versions available, see the link to tags on this repository.
TODO: Add jest.
At react-losen, we use the following tools:
Wizard
, the main orchestrator. It has 2 required props
Step
as children. Minumum 2. Start and endStep
, a wrapper for what you want to show as a step. It registers the step on mount to the Wizard contextControls
, the controller for which step to show next. Has 2 directions: next and previous. It also knows if you are on the last or first step.FAQs
A super customisable Wizard for React and React Native
The npm package react-losen receives a total of 0 weekly downloads. As such, react-losen popularity was classified as not popular.
We found that react-losen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.