Skip to main content

Triangle



  render(<Triangle
  visible={true}
  height="80"
  width="80"
  color="#4fa94d"
  ariaLabel="triangle-loading"
  wrapperStyle={{}}
  wrapperClass=""
  />)


Props

NameTypeDefaultDescription
ariaLabelstringtriangle-loadingAria label of the triangle. Will be used for the `aria-label` attribute of the wrapper element
colorstring#4fa94dColor of the triangle
heightnumber | string80Height of the triangle
visiblebooleantrueWhether the triangle is visible
widthnumber | string80Width of the triangle
wrapperClassstringundefinedClass name of the wrapper element. It can be used for custom styling.
wrapperStyleobject{}Styles to be applied to the wrapper. It should be a valid CSS object. It can be used for custom styling. It will override the default style.