packages/react/src/hooks/useRole.ts
Function useRole
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function useRole<RT extends ReferenceType = ReferenceType>(
context: FloatingContext<RT>,
props: UseRoleProps = {},
): ElementProps {
const {open, floatingId} = context;
- Create a ticketCreate a ticket