Skip to content

Ability to add Style for AlertLists #54

@KimberlyYang

Description

@KimberlyYang

Hi! First of thanks for a great Library.

My query is about adding extra styles for the "Type" of alerts in the AlertList component
With the new Bootstrap 4 We have 3 extra types ..

  • Secondary,
  • Light,
  • Dark

The current Implementation Limits the AlertList types to

  • Success
  • Warning
  • Danger
  • Info

if a style property was added to the type this could be remedied and would allow for Expansion of the layout types in a Generic way..

I can se that react-jss is already a dependency for "Themed Alert" that could be used in the List as a style parameter..
or if that is to much could we allow the component className to parse through from unknown type instead of undefined this would at leaste allow for css stryling?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions