feat: mobile workspaces (#1093)

This commit is contained in:
Vardan Hakobyan
2022-06-21 15:42:43 +04:00
committed by GitHub
parent 1f903f17d1
commit 7d60dfee73
71 changed files with 599 additions and 317 deletions

View File

@@ -12,7 +12,7 @@ export const ToastWrapper: FC = () => {
const { updateProgressBar, progressBarWidth } = useProgressBar()
const toastStyles: ToastConfig = {
info: props => {
info: (props) => {
const percentComplete = props.props?.percentComplete || 0
updateProgressBar(percentComplete)
@@ -35,13 +35,13 @@ export const ToastWrapper: FC = () => {
</View>
)
},
success: props => {
success: (props) => {
const percentComplete = props.props?.percentComplete || 0
updateProgressBar(percentComplete)
return <SuccessToast {...props} style={styles(props.props).success} />
},
error: props => {
error: (props) => {
const percentComplete = props.props?.percentComplete || 0
updateProgressBar(percentComplete)