1.0.23 • Published 5 years ago
sk-react-component v1.0.23
sk-react-component
react component library with some basic component like button, input findGithubRepo
Installation
# using npm
npm install sk-react-component
# using yarn
yarn add sk-react-componentUsage
# using require
const {
Button,
Input,
FindGithubRepo
} = require('sk-react-component');
# using import
import {
Button,
Input,
FindGithubRepo
} from 'sk-react-component';Example
Using Button:
<Button
width={width} // width of the button -> default : 100
height={height} // height of the button -> default : 30
bgColor={bgColor} //background color -> default : blue
textColor={textColor} // color of the text
onClick = {onClick} // event handler for onclick
text = {text} // text of the button
/>Using Input:
<Input
type={'text'} // type of the input -> default : text
name={name} // name attribute of the input element
value={value} // value attribute of the input
onChange={() => {}} // event handler for onChange
/>Using FindGithubRepo:
<FindGithubRepo
mainDivCss = {{ width: "100%",height: "100%" }} // css for main Div
searchDivCss = {{borderBottom: "1px solid #EDEDED"}} // css for search div or upper div
resultDivCss = {{ width: "100%",height: "100%" }} // css for result show div or lower div
/>1.0.23
5 years ago
1.0.22
5 years ago
1.0.21
5 years ago
1.0.20
5 years ago
1.0.19
5 years ago
1.0.18
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago