1 contributor
Like
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
and packages in Bit or NPM to the example. any of the 1 million componentstoggle 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)