@ricokahler/sanity-ui-test
v0.36.8
Published
The Sanity UI components.
Downloads
2
Readme
@sanity/ui
The Sanity UI components.
npm install @sanity/ui
# Install peer dependencies
npm install react react-dom styled-components
Usage
import {Button, studioTheme, ThemeProvider} from '@sanity/ui'
import React from 'react'
import ReactDOM from 'react-dom'
ReactDOM.render(
<ThemeProvider theme={studioTheme}>
<Button text="Hello, world" />
</ThemeProvider>,
document.getElementById('root')
)
License
MIT-licensed. See LICENSE.