Skip to content

Dynamic configuration with React? #338

Answered by nd0ut
chasegarner asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @chasegarner,

--cfg-secure-signature is a string, so you need to wrap its value into the quotes like this:

<lr-file-uploader-inline
      class={classNames}
      style={{
        "--cfg-secure-signature": `"${props.signature}"`,
        "--cfg-secure-expire": `${props.expire}`,
      }}
    />

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@chasegarner
Comment options

Answer selected by chasegarner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants