MCPcopy Create free account
hub / github.com/Lobos/react-ui / setHint

Function setHint

src/FormControl.js:14–19  ·  view source on GitHub ↗
(hints, key, value)

Source from the content-addressed store, hash-verified

12setLang('validation');
13
14function setHint(hints, key, value) {
15 let text = getLang('validation.hints.' + key, null);
16 if (text) {
17 hints.push(format(text, value));
18 }
19}
20
21class FormControl extends Component {
22 constructor (props) {

Callers 1

getHintMethod · 0.85

Calls 2

getLangFunction · 0.90
formatFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…