Using the following does nothing. Furthermore, this doesn't appear to match the API of style (imported from react-stylesheet). Is this project (and/or react-stylesheet) abandoned?
Customizing label rendering:
import React from 'react'
import {style} from 'react-stylesheet'
import {Field as BaseField, Label as BaseLabel} from 'react-forms'
function Label({label, schema}) {
return <BaseLabel className="my-label" label={label} schema={schema} />
}
let Field = style(BaseField, {
Label: Label
})
Using the following does nothing. Furthermore, this doesn't appear to match the API of
style
(imported from react-stylesheet). Is this project (and/or react-stylesheet) abandoned?