Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 436 Bytes

eight-phones-worry.md

File metadata and controls

29 lines (21 loc) · 436 Bytes
sku
minor

Playroom: Update to v0.22.0, add playroomScope option

You can now use Playroom's new custom scope feature by providing a playroomScope file.

EXAMPLE USAGE

sku.config.js:

module.exports = {
  playroomScope: './playroom/useScope.ts',
}

useScope.ts:

import { useToast } from 'braid-design-system';

export default function useScope() {
  return {
    showToast: useToast()
  }
}