1.0.3 • Published 2 years ago

ncyra v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ncyra ui package

Ncyra is a simple, lightweight, and fast web ui library for React.js. Made with create-react-library by @harundogdu

NPM JavaScript Style Guide

Install

npm install --save ncyra
yarn add ncyra

Usage

import React from 'react'

import { Button } from 'ncyra'
import 'ncyra/dist/index.css'

function App() {
  return (
    <>
      <Button
        text='Primary Button'
        type='primary'
        onClick={() => alert('Button clicked')}
      />
      <Button
        text='Default Button'
        type='default'
        onClick={() => alert('Button clicked')}
      />
      <Button
        text='Dashed Button'
        type='dashed'
        onClick={() => alert('Button clicked')}
      />
      <Button
        text='Text Button'
        type='text'
        onClick={() => alert('Button clicked')}
      />
      <Button
        text='Link Button'
        type='link'
        onClick={() => alert('Button clicked')}
      />
    </>
  )
}

License

MIT © harundogdu