Skip to content
Discussion options

You must be logged in to vote

For completeness, I forward the solutions posted at https://stackoverflow.com/a/68220638/14140854

I have come up with a solution, referring to shiny.fluent examples for Keytips

library(shiny)
library(shiny.fluent)

jscode <- "
jsmodule['@fluentui/react'].registerIcons({
  icons: {
    'csv': (
      React.createElement('svg', { xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 96 96', fill: '#FFF', 'stroke-miterlimit': '10', 'stroke-width': '2' },
      React.createElement('path', { stroke: '#000000', d: 'M67.1716,7H27c-1.1046,0-2,0.8954-2,2v78 c0,1.1046,0.8954,2,2,2h58c1.1046,0,2-0.8954,2-2V26.8284c0-0.5304-0.2107-1.0391-0.5858-1.4142L68.5858,7.5858 C68.2107,7.2107,67.702,7,67.1716,7z' }),

Replies: 2 comments 1 reply

Comment options

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

Comment options

You must be logged in to vote
0 replies
Answer selected by jonekeat
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