0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

project-react使い方

Posted at

project-reactの使い方

keitaです。今回は、私が開発した、project-reactと言う名の、
react用のUIセットの使い方をまとめました。

インストール

npm install @keitagames/keitaui

サンプルコード

//インストール npm install @keitagames/keitaui
import { default as Input } from '@keitagames/keitaui/src/components/Input'

import { default as Button } from '@keitagames/keitaui/src/components/Button'


function App() {
  
  function a(){

  }
  return (
    <>
      <h1>welcome to project-react</h1>
      <Button label="keitagames" onClick={a}></Button> 
      
      <Input p="keitagames..."></Input>
    </>
  )
}

export default App

他にも、UIを開発しているのでお楽しみに

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?