utils

v0.0.1arrow_drop_down
v0.0.1
STATUS
Processing
DOWNLOADS
2
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
3 KB
为 Node 添加任意 className
1 contributor
Install utils as a package?
Copied
npm i @bit/webnovel.read-ui.utils
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
chevron_left
chevron_right
utils (
Node:(null | string | node | function),
className:string,
Component:node
) : (JSX.Element | React.DetailedReactHTMLElement.<{className: string}, HTMLElement> | null)

为 Node 添加任意 className

Arguments
Node: (null | string | node | function)
className: string
Component: node
Returns
(JSX.Element | React.DetailedReactHTMLElement.<{className: string}, HTMLElement> | null)

Help and resources