Source pointerEvents options from config
This commit is contained in:
parent
eea9c9ab75
commit
64c026f2e0
1 changed files with 3 additions and 3 deletions
|
|
@ -1,11 +1,11 @@
|
|||
export default function({ variants }) {
|
||||
return function({ addUtilities }) {
|
||||
export default function() {
|
||||
return function({ addUtilities, config }) {
|
||||
addUtilities(
|
||||
{
|
||||
'.pointer-events-none': { 'pointer-events': 'none' },
|
||||
'.pointer-events-auto': { 'pointer-events': 'auto' },
|
||||
},
|
||||
variants
|
||||
config('variants.pointerEvents')
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue