UNPKG
@ntohq/buefy-next
Version:
latest (0.2.0)
0.2.0
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Lightweight UI components for Vue.js (v3) based on Bulma
buefy.org
ntohq/buefy-next
@ntohq/buefy-next
/
src
/
utils
/
ConfigComponent.ts
13 lines
(11 loc)
•
300 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
config, { setOptions }
from
'./config'
import
type
{
BuefyConfigOptions
}
from
'./config'
import
{ merge }
from
'./helpers'
export
default
{
getOptions
(
) {
return
config },
setOptions
(
options
:
BuefyConfigOptions
) {
setOptions
(
merge
(config, options,
true
)) } }