Components
Spinner
Code

Spinner

Spinner(props): null | ReactElement<any, string | JSXElementConstructor<any>>

Loading indicator

Parameters

NameType
propsSpinnerProps & RefAttributes<HTMLDivElement (opens in a new tab)>

Example

example.tsx
<Spinner description="loading" size={16} />
import React from 'react'
import { Spinner } from '@vtex/shoreline-components'

export default function App () {
return (
<>

      <Spinner description='loading' size={16} />

    </>

)
}