ncyra
v1.0.3
Published
Ncyra is a simple, lightweight, and fast web ui library for React.js. Made with create-react-library by @harundogdu
Downloads
1
Maintainers
Readme
ncyra ui package
Ncyra is a simple, lightweight, and fast web ui library for React.js. Made with create-react-library by @harundogdu
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