Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Delay's function children #1300

Open
manudeli opened this issue Oct 9, 2024 · 1 comment
Open

[Feature]: Delay's function children #1300

manudeli opened this issue Oct 9, 2024 · 1 comment
Assignees

Comments

@manudeli
Copy link
Member

manudeli commented Oct 9, 2024

Package Scope

@suspensive/react

Description

const Example () => {
  return (
    // Prohibit fallback by typescript function overriding
    <Delay ms={2000}>
      {({ isDelayed }) => (
         isDelayed ? <></> : null
       )}
    </Delay>
  )
}

Possible Solution

No response

etc.

No response

@manudeli manudeli self-assigned this Oct 9, 2024
Copy link

coauthors bot commented Oct 9, 2024

People can be co-author:

Candidate Reasons Count Add this as commit message
@manudeli #1300 1 Co-authored-by: manudeli <[email protected]>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant