🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more
Socket
Book a DemoInstallSign in
Socket

@jouwomgeving/ui-flex

Package Overview
Dependencies
Maintainers
5
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jouwomgeving/ui-flex

Dictator package JO ui flex

Source
npmnpm
Version
0.0.1-alpha.413ebe41
Version published
Weekly downloads
171
-0.58%
Maintainers
5
Weekly downloads
 
Created
Source

Flex

$ npm install @jouwomgeving/ui-flex

Usage

import Flex from '@jouwomgeving/ui-flex';
import * as Button from '@jouwomgeving/ui-form';

function Buttons() {
  return (
    <Flex spacing="thin">
      <Button.default label="1" />
      <Button.default label="2" />
      <Button.default label="3" />
      <Button.default label="4" />
      <Button.default label="5" />
      <Button.default label="6" />
    </Flex>
  );
}

export default Buttons;

About

A component which tends to make it easier to keep same margins between all the component within dictator.

The used margins are:

  • thin 10px
  • wide 20px

Properties

PropValuesDefaultRequired
spacingfalse, thin, widefalseYes
directionhorizontal, verticalhorizontalYes
fillbooleanfalseNo
childrenReactElementundefinedtrue

FAQs

Package last updated on 16 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts