A sample primitive that is made up for templating with the following options:
createPrimitiveTemplate
- Provides a getter and setter for the primitive.
npm install @solid-primitives/template-primitive
# or
yarn add @solid-primitives/template-primitive
# or
pnpm add @solid-primitives/template-primitive
const [value, setValue] = createPrimitiveTemplate(false);
You can use this template for publishing your demo on CodeSandbox: https://codesandbox.io/s/solid-primitives-demo-template-sz95h
See CHANGELOG.md