0.1.2 • Published 2 years ago

rjcm-test-ui v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Ui lib test

Installation

npm i rjcm-test-ui

yarn add rjcm-test-ui

import React from 'react';
import colorScheme from '@colors'
import * as Typography from 'rjcm-test-ui/core/typography';

export default MyScreen() {
  return (
    <Typography.H1 theme={colorsScheme}>My Screen<Typography.H1>
  )
}
import React from 'react';
import colorScheme from '@colors'
import * as Typography from 'rjcm-test-ui/core/typography';

interface UiTextProps {
  type: keyof typeof Typography;
  children: React.ReactNode;
}

export default UiText({ children, type }: UiTextProps) {
  const Component = Typography[type]

  return (
    <Component theme={colorsScheme}>{children}<Component>
  )
}
0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago