/react-field-sizing-content

A React-based ponyfill for `field-sizing: content`

Primary LanguageTypeScriptMIT LicenseMIT

react-field-sizing-content

A React-based ponyfill for field-sizing: content

Install

npm add react-field-sizing-content

Usage

import { Input } from "react-field-sizing-content"

render(
	<Input
		fieldSizing="content"
		// otherwise is identical to `<input/>`
	/>
)