@charcoal-ui/react
TypeScript icon, indicating that this package has built-in type declarations

3.10.1 • Public • Published

@charcoal-ui/react

charcoal デザインシステムに則った React コンポーネントを提供します

インストール

npm

npm i @charcoal-ui/react

yarn

yarn add @charcoal-ui/react

Server Side Rendering を行う場合の注意点

SSR を行う場合はアプリケーション全体を<SSRProvider>で囲む必要があります。

import { SSRProvider } from '@charcoal-ui/react'

const App = () => (
  <SSRProvider>
    <Page />
  </SSRProvider>
)

既知の不具合として、React のstrict modeが有効化されていると hydration error が発生します。@charcoal-ui/reactが依存しているreact-ariaの不具合 (adobe/react-spectrum#2231, adobe/react-spectrum#779) によるものです。

Readme

Keywords

none

Package Sidebar

Install

npm i @charcoal-ui/react

Weekly Downloads

350

Version

3.10.1

License

Apache-2.0

Unpacked Size

1.31 MB

Total Files

244

Last publish

Collaborators

  • toshusai
  • mimokmt
  • pixiv-npm
  • walf443
  • fsubal1102