Skip to content

Add styled-components version #57

Open
@matteocng

Description

@matteocng

Add styled-components version of FlagIcon. It should be built using StyledFlagIconFactory and support theming (e.g custom flags).

// ES2015 version.
import StyledFlagIconFactory from 'react-flag-icon-css/module/styled'
// Legacy CommonJS version.
import StyledFlagIconFactory from 'react-flag-icon-css/lib/styled'

Activity

evert-smit

evert-smit commented on Mar 10, 2018

@evert-smit

Hi, I was wondering, is there some more info on a possible styled-components version?

matteocng

matteocng commented on Mar 29, 2018

@matteocng
OwnerAuthor

Hi @evert-smit it is unlikely I can release the SC version soon, but I will reference this thread when that happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @matteocng@evert-smit

        Issue actions

          Add `styled-components` version · Issue #57 · matteocng/react-flag-icon-css