styled components argument code example
Example: styled components type argument generic
// antd -> Table is a generic component
import styled from 'styled-components'
import { Table as AntdTable } from 'antd'
export const Table = styled(AntdTable)`
...
` as typeof AntdTable