```ts const Button = component('div', baseStyles) <Button as="button" /> ``` Allow to pass custom component and infer props from: ```ts <Button as={MyButton} myProp={1} /> ```
Activity