@acnb/options
TypeScript icon, indicating that this package has built-in type declarations

0.2.9 • Public • Published

acnb-options

Collection of Option Utilities for acnb.

Usage

npm i @acnb/options
import { useBackgroundOptions } from '@acnb/options'

const backgroundOptions = useBackgroundOptions()
console.log(backgroundOptions)
// {
//   enable: false,
//   value: "",
//   opacity: 0.85,
//   repeat: false,
// }
const backgroundOptions = useBackgroundOptions({
  enable: true,
})
console.log(backgroundOptions)
// {
//   enable: true,
//   value: "",
//   opacity: 0.85,
//   repeat: false,
// }

Readme

Keywords

Package Sidebar

Install

npm i @acnb/options

Weekly Downloads

8

Version

0.2.9

License

MIT

Unpacked Size

30.7 kB

Total Files

7

Last publish

Collaborators

  • guangzan