Skip to content

Latest commit

 

History

History
74 lines (64 loc) · 1.2 KB

README.md

File metadata and controls

74 lines (64 loc) · 1.2 KB

Reason bindings for Gestalt

npm

The bindings are a work in progress, I'm adding things on the go. If you miss anything, or want to see something change, feel free to send me a PR.

Installation

yarn add bs-gestalt
yarn add gestalt

Add bs-gestalt to your bs-dependencies in bsconfig.json.

{
  "bs-dependencies": ["bs-gestalt"]
}

Usage

open Gestalt;

[@react.component]
let make = () =>
  <Box display=`flex alignContent=`around>
    {React.string("Hello World!")}
  </Box>;

Components

  • Avatar
  • Badge
  • Box
  • Button
  • Card
  • Checkbox
  • Collage
  • Column
  • Container
  • Divider
  • Flyout
  • GroupAvatar
  • Heading
  • Icon
  • IconButton
  • Image
  • Label
  • Layer
  • Letterbox
  • Link
  • Mask
  • Masonry
  • Modal
  • Pog
  • Pulsar
  • RadioButton
  • SearchField
  • SegmentedControl
  • SelectList
  • Spinner
  • Sticky
  • Switch
  • Tabs
  • Text
  • TextArea
  • TextField
  • Toast
  • Tooltip
  • Touchable
  • Video