UNPKG
@opentiny/tiny-toolkit-docs
Version:
alpha (1.0.11-alpha.0)
latest (1.0.10)
1.0.11-alpha.0
1.0.10
1.0.10-alpha.0
1.0.9
1.0.9-alpha.0
1.0.8
这里对你的套件进行简单描述, 比如适用哪些场景,使用了什么技术, 有什么特点
github.com/opentiny/tiny-cli
opentiny/tiny-cli
@opentiny/tiny-toolkit-docs
/
template
/
ng
/
tiny-uno
/
variants
/
child.js
10 lines
(9 loc)
•
232 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
// "child:" child:f16 child:box32
export
default
(matcher) => {
if
(!matcher.
startsWith
(
'child:'
))
return
matcher;
return
{
matcher
: matcher.
slice
(
6
),
selector
:
(
s
) =>
`
${s}
>*`
,
body
:
(
s
)=>
s }; };