sigl-ui
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

sigl-ui

UI elements and components for sigl

npm i sigl-ui pnpm add sigl-ui yarn add sigl-ui

Examples

# web
    # view source example/web.tsx

    /** @jsxImportSource sigl */
    import $ from 'sigl'
    
    import { ToggleElement } from 'sigl-ui/toggle'
    
    const Toggle = $.element(ToggleElement)
    
    $.render(
      <>
        <Toggle />
        <Toggle value={true} />
      </>,
      document.body
    )

API

# NumberInputElement src/number-input.tsx#L7

} & __module & {}, "transition">>

mounted($)  =>

    void
# ToggleElement src/toggle.tsx#L7

mounted($)  =>

    void
# Stretchy({ children, height, key, part, width }) src/stretchy.tsx#L3

Credits

Contributing

Fork or edit and submit a PR.

All contributions are welcome!

License

MIT © 2022 stagas

Readme

Keywords

none

Package Sidebar

Install

npm i sigl-ui

Weekly Downloads

32

Version

1.0.1

License

MIT

Unpacked Size

1.08 MB

Total Files

28

Last publish

Collaborators

  • stagas