0.1.1 • Published 4 years ago

@rock-kit/ui-view v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

category: packages

ui-view

npm  build-status  MIT License  Code of Conduct

A component for basic styles including spacing, sizing, borders, display, positioning, and focus states.

Components

The ui-view package contains the following:

Installation

yarn add @rock-kit/ui-view

Usage

---
example: false
---
import React from 'react'
import { View } from '@rock-kit/ui-view'

const MyView = () => {
  return (
    <View as="div" padding="small" borderWidth="small">
      Hello World
    </View>
  )
}