New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@ds-kit/flex

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ds-kit/flex

Flex component

latest
npmnpm
Version
1.2.0
Version published
Weekly downloads
0
-100%
Maintainers
3
Weekly downloads
 
Created
Source

title: "Flex" slug: "/packages/flex" category: "layout" componentNames:

  • "Flex"

Flex

The Flex package contains a useful set of components relevant for layout work. It has helper components to create flex.

import Flex from "@ds-kit/flex"
import Div from "@ds-kit/div"

Simple Example

The simplest example of a flex will look like this:

<Flex>
  <Div bg="primary" color="white" p="3rem" mx="1rem">
    First div
  </Div>
  <Div bg="primary" color="white" p="3rem" mx="1rem">
    Second div
  </Div>
  <Div bg="primary" color="white" p="3rem" mx="1rem">
    Third div
  </Div>
</Flex>

FAQs

Package last updated on 30 Aug 2019

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