MCPcopy Create free account
hub / github.com/callstack/react-native-paper / createInput

Function createInput

src/components/__tests__/TextInput.test.tsx:486–493  ·  view source on GitHub ↗
(
    type: Exclude<Props['mode'], undefined>,
    maxFontSizeMultiplier?: Props['maxFontSizeMultiplier']
  )

Source from the content-addressed store, hash-verified

484
485describe('maxFontSizeMultiplier', () => {
486 const createInput = (
487 type: Exclude<Props['mode'], undefined>,
488 maxFontSizeMultiplier?: Props['maxFontSizeMultiplier']
489 ) => {
490 return (
491 <TextInput mode={type} maxFontSizeMultiplier={maxFontSizeMultiplier} />
492 );
493 };
494
495 it('should have default value in flat input', () => {
496 const { getByTestId } = render(createInput('flat'));

Callers 1

TextInput.test.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…