Skip to main content

Audio



  render(<Audio
  height="100"
  width="100"
  color="#4fa94d"
  ariaLabel="audio-loading"
  wrapperStyle={{}}
  wrapperClass="wrapper-class"
  visible={true}
  />)


Props

NameTypeDefaultDescription
ariaLabelstringaudio-loadingSpecifies the Aria label of the audio. This label will be applied to the aria-label attribute in the wrapper element.
heightnumber | string80Specifies the height of the audio SVG. For additional customization, employ the wrapper className.
visiblebooleantrueControls the visibility of the audio. If set to false, the audio will not be rendered.
widthnumber | string80Specifies the width of the audio SVG. For further customization, utilize the wrapper className.
wrapperClassstringundefinedAssigns a className to the wrapper for custom styling, overriding the default style.
wrapperStyleobject{}Applies styles to the wrapper. It should be a valid CSS object and can be used for custom styling, overriding the default style.