Skip to content

Feature - Expose CSS API #15

@JonatanSalas

Description

@JonatanSalas

Motivation

Currently our library is using inline styling to set styles which is really wrong because it limits our users to change the QrReader UI to match their needs.

Proposal

Implement a solution that exposes a .css file, or use a css-in-js library so the component it's encapsulated, also, add the possibility to override styles via a prop called classes like material-ui.

Eg:

<QrReader 
   classes={{ 
     root: 'your-root-class', 
     container: 'your-container-class', 
     video: 'your-video-class 
   }} 
 />

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions