Files
headlessui/packages/@headlessui-react
BrandonGoren 5ca68a9c95 Update react types to avoid unbound method lint errors (#3480)
Using @headlessui close methods/types in a project with
eslint-typescript currently causes "UnboundMethod" errors because we're
using class member syntax to define the functions.

I tweaked the declarations here to use arrow syntax in few places. The
behavior should be unchanged, but we are no longer implying the
existence of a "this"
2024-09-23 13:40:18 +02:00
..
2022-01-31 00:10:06 +01:00
2024-09-12 12:35:23 +02:00
2024-03-12 16:25:13 +01:00
2024-09-12 12:35:23 +02:00

@headlessui/react

A set of completely unstyled, fully accessible UI components for React, designed to integrate beautifully with Tailwind CSS.

Total Downloads Latest Release License

Installation

npm install @headlessui/react

Documentation

For full documentation, visit headlessui.dev.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discuss Headless UI on GitHub

For casual chit-chat with others using the library:

Join the Tailwind CSS Discord Server