UNPKG
reblend-ui
Version:
latest (3.0.2)
3.0.2
3.0.0
Utilities for creating robust overlay components
github.com/react-restart/ui
react-restart/ui
reblend-ui
/
esm
/
DataKey.d.ts
5 lines
(4 loc)
•
261 B
TypeScript
View Raw
1
2
3
4
5
export
declare
const
ATTRIBUTE_PREFIX
:
"data-rr-ui-"
;
export
declare
const
PROPERTY_PREFIX
:
"rrUi"
;
export
declare
function
dataAttr<T
extends
string
>(
property
: T):
`data-rr-ui-
${T}
`
;
export
declare
function
dataProp<T
extends
string
>(
property
: T):
`rrUi
${T}
`
;