Paweł Dąbrowski

Results 26 comments of Paweł Dąbrowski

I simply created a file in src/typings called cssprop.d.ts: ``` import { CSSProp } from 'styled-components'; declare module 'react' { interface Attributes { css?: CSSProp; } } ``` and it...

Thanks for the review! I'll try to contribute the hooks when I have some free time 😊

@williaster I updated the PR with `useParentSize` and `useScreenSize` hooks. `useParentSize` is mostly extracted from `` component, `useParentSize` mostly from `withParentSize`. Some additional notes: - I did not refactor enhancers...

Updated the PR, I think there shouldn't be any build errors and I addressed your feedback.

Shameless bump - @williaster I would really appreciate if you could take a look at the PR, thanks!

Workaround: ``` const getConfig = async () => { // simplified const dbURL = await getSecret(process.env.DB_CREDENTIALS_SECRET); return defineConfig({ schema: './src/schema.ts', out: './drizzle', dialect: 'postgresql', dbCredentials: { url: dbURL, }, });...

No, it doesn't. You don't ever _have to_ await an async function, even though you probably should in most cases, but this is a config file processed by external code...