Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@flowplatform/ui
Advanced tools
> **[View Storybook](https://github.com/eyedea-io/flow-ui/deployments?environment=storybook#activity-log)**
Install package
yarn add [PACKAGE_NAME_HERE]
Add Theme Provider
import {FlowThemeProvider} from [PACKAGE_NAME_HERE]
const App = () => <FlowThemeProvider>{/* ... */}</FlowThemeProvider>
You can read more about smashing theme provider to learn how to customize theme.
This is a simple example that uses @smashing/form
and Flow components to create simple validated form.
import {FlowSelectMenu} from [PACKAGE_NAME_HERE]
import {useForm} from '@smashing/form'
const MyForm = () => {
const validationSchema = yup.object({
fruit: yup
.string()
.transform(val => (val === 'Banana' ? '' : val))
.required('No banana!')
})
const {Form} = useForm({
initialValues: {
fruit: 'Apple'
},
validationSchema,
validateOnChange: true
})
return (
<section>
<p>Select "Banana" to trigger the error</p>
<Form>
<FlowSelectMenu
options={options}
name="fruit"
label="This is a fruit field"
/>
</Form>
</section>
)
}
<head>
tag content.<title>
tag content.yarn
yarn build
yarn watch
for hot reload and open a new terminal window in the same folder and run yarn storybook
FAQs
> **[View Storybook](https://github.com/eyedea-io/flow-ui/deployments?environment=storybook#activity-log)**
The npm package @flowplatform/ui receives a total of 3 weekly downloads. As such, @flowplatform/ui popularity was classified as not popular.
We found that @flowplatform/ui demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.