0.1.24 • Published 9 months ago

@nousantx/tenoxui-styler v0.1.24

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

TenoxUI Styler

Installation

npm i @nousantx/tenoxui-styler

Or UMD :

<script src="https://cdn.jsdelivr.net/npm/@nousantx/tenoxui-styler@latest/dist/index.umd.min.js"></script>

Note that this package only have esm and umd build.

Usage

React

import { useLayoutEffect } from '@nousantx/tenoxui/styler'
import { init, createConfig } from '@nousantx/tenoxui/styler'

export function App() {
  useLayoutEffect(() => {
    const config = createConfig({
      property: { bg: 'background' }
    })

    init({ config })
  }, [])

  return <div class="bg-red"></div>
}

HTML / UMD

<script src="https://cdn.jsdelivr.net/npm/@nousantx/tenoxui-styler@0.1.0/dist/index.umd.min.js"></script>
<script>
  const config = __nsx_styler.createConfig({
    property: { bg: 'background' }
  })

  __nsx_styler.init({ config })
</script>

LICENSE

MIT © 2024-Present

0.1.24

9 months ago

0.1.23

10 months ago

0.1.22

10 months ago

0.1.21

10 months ago

0.1.20

10 months ago

0.1.19

11 months ago

0.1.18

11 months ago

0.1.17

11 months ago

0.1.16

11 months ago

0.1.15

11 months ago

0.1.14

11 months ago

0.1.13

11 months ago

0.1.12

11 months ago

0.1.11

11 months ago

0.1.10

11 months ago

0.1.9

11 months ago

0.1.8

11 months ago

0.1.7

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago