fix: rework wallet screen
This commit is contained in:
parent
1f7ae74b42
commit
1f6d272aa0
103 changed files with 2094 additions and 3892 deletions
23
new-lamassu-admin/src/pages/Services/schemas/strike.js
Normal file
23
new-lamassu-admin/src/pages/Services/schemas/strike.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import * as Yup from 'yup'
|
||||
|
||||
import TextInputFormik from 'src/components/inputs/formik/TextInput'
|
||||
|
||||
export default {
|
||||
code: 'strike',
|
||||
name: 'Strike',
|
||||
title: 'Strike (Lightning Payments)',
|
||||
elements: [
|
||||
{
|
||||
code: 'token',
|
||||
display: 'API Token',
|
||||
component: TextInputFormik,
|
||||
face: true,
|
||||
long: true
|
||||
}
|
||||
],
|
||||
validationSchema: Yup.object().shape({
|
||||
token: Yup.string()
|
||||
.max(100, 'Too long')
|
||||
.required('Required')
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue