committed by
Vladimír Gorej
parent
dbd8931161
commit
ab1842083d
20
src/core/plugins/json-schema-2020-12/index.js
Normal file
20
src/core/plugins/json-schema-2020-12/index.js
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import JSONSchema from "./components/JSONSchema/JSONSchema"
|
||||
import BooleanJSONSchema from "./components/BooleanJSONSchema/BooleanJSONSchema"
|
||||
import { upperFirst } from "./fn"
|
||||
import { withJSONSchemaContext } from "./hoc"
|
||||
|
||||
const JSONSchema202012Plugin = () => ({
|
||||
components: {
|
||||
JSONSchema202012: JSONSchema,
|
||||
BooleanJSONSchema202012: BooleanJSONSchema,
|
||||
withJSONSchema202012Context: withJSONSchemaContext,
|
||||
},
|
||||
fn: {
|
||||
upperFirst,
|
||||
},
|
||||
})
|
||||
|
||||
export default JSONSchema202012Plugin
|
||||
Reference in New Issue
Block a user