typography

v0.0.5arrow_drop_down
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
8
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
文本的基本格式
1 contributor
Install typography as a package?
Copied
npm i @bit/webnovel.read-ui.typography
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right

H2

Demo

import React from 'react';
import H1 from '@bit/webnovel.read-ui.h1';
import "@bit/webnovel.read-ui.style";

export default (
  <div style={{
    minWidth: '100vh',
    minHeight: "100vh",
    border:'1px solid #ddd'
  }}>
      <H1>I am title</H1>
      <H1 subText="12">I am title</H1>
  </div>
)
Properties
NameTypeDefault valueDescription
Component
node"h2"

容器组件,默认为 h2

subText
node

二级文案

Component
node"h3"

容器组件,默认为 h3

className
?""
Component
node"h3"

容器组件,默认为 h3

className
?""
Help and resources