Nick Troshkov
Nick Troshkov
The border is requried for e.g. danger type, it's visible in this case if we remove it, we need to replace it with box-shadow or perhaps outline, which don't take...
mind accepted visual changes: https://www.chromatic.com/build?appId=6481a2f37ea081d3131e5219&number=3001
Elaborating on the comment. Current typing, for example in GridContainer: ```tsx type GridContainerPolymorphicComponent = ( props: Omit & GridContainerProps ) => ReactNode; ``` The issue with this, is that `Omit`...
chunk of code I used to verify how these types behave, in case someone needs it ```ts function Example( component: T, fn: (keysof: keyof T, props: Omit) => void )...
Components that use this pattern for types (including, but not limited to) - Text - GridContainer - Container