0.1.30 • Published 8 years ago
odeum-primitives v0.1.30
ODEUM Primitives are ReactJS UI primitives build for ODEUM Code.
1. Components
ODEUM Primitives (odeum-primitives) are a collection of simple visual components build for ODEUM Code open source UI framework. All components are build with styled-components and ReactJS and the following components will be added:
- Heading - Header component
- Image - Image component with async resource fetch and assets control
- Label - Label component
- Link - Link component
- Space - Space creates empty spaces (transparent, color)
- Text - Text paragraph
View - Container for creating styled views
2. Installation
$ npm install odeum-primitives
$ yarn add odeum-primitives3. Usage
import React from 'react'
import { Heading,
Image,
Label,
Link,
Space,
Text,
View } from 'odeum-primitives'
const styles = {
size: 1,
weight: 500,
color: 'magenta'
}
...
<Heading>Hello World</Heading>
<Heading size={1}>Hello {name}</Heading>
<Heading size={2} weight={900}>Hello {name}</Heading>
<Heading size={3} weight={500} color={'black'}>Hello {name}</Heading>
<Heading {...styles}>Heading from styles object</Heading>... TBC
0.1.30
8 years ago
0.1.29
8 years ago
0.1.28
8 years ago
0.1.27
8 years ago
0.1.26
8 years ago
0.1.25
8 years ago
0.1.24
8 years ago
0.1.23
9 years ago
0.1.22
9 years ago
0.1.21
9 years ago
0.1.20
9 years ago
0.1.19
9 years ago
0.1.18
9 years ago
0.1.17
9 years ago
0.1.16
9 years ago
0.1.15
9 years ago
0.1.14
9 years ago
0.1.13
9 years ago
0.1.12
9 years ago
0.1.11
9 years ago
0.1.10
9 years ago
0.1.9
9 years ago
0.1.8
9 years ago
0.1.7
9 years ago
0.1.6
9 years ago
0.1.4
9 years ago
0.1.3
9 years ago
0.1.2
9 years ago
0.1.1
9 years ago
0.1.0
9 years ago