game1n / t8-cms

[WIP] A micro content management system
t8-cms.vercel.app
MIT License
8 stars 8 forks source link

15 [common components]/loaders: replace loader component to circular/linear #28

Closed eLeontev closed 1 year ago

eLeontev commented 1 year ago

Issue related

What is being changed?

Evidences

15_circular_linear_loaders

Observations

Linear component will be hidden if it's parent has not defined width property so the usage will be the same as provided by MUI (https://mui.com/material-ui/react-progress/#linear)

// percentages are for example
<Box sx={{ width: '100%' }}>
  <LinearLoader shouldDisplayLoader={true} />
</Box>

// or
<LinearLoader shouldDisplayLoader={true} sx={{ width: '100%' }} />
vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to the gam1n Team on Vercel.

A member of the Team first needs to authorize it.

eLeontev commented 1 year ago

this PR is optional and reasoned by the comment to add support fo circular/linear loaders, fyi

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
t8-cms ✅ Ready (Inspect) Visit Preview Oct 5, 2022 at 5:50AM (UTC)