Added Ticket shape to UiTron (#208)
This commit is contained in:
committed by
GitHub
parent
9764203019
commit
bf4ba14af7
@@ -13389,5 +13389,71 @@
|
||||
"iconUrl": "https://public-assets.np.navi-tech.in/sa/application-platform/ic_blue_exclamation_info_12x12.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ticketShapeMock": {
|
||||
"parentComposeView": [
|
||||
{
|
||||
"property": {
|
||||
"viewType": "Spacer",
|
||||
"height": "200",
|
||||
"width": "200",
|
||||
"shape": {
|
||||
"shapeType": "TicketShape",
|
||||
"cornerRadius": 8,
|
||||
"ticketSplitRatio": 0.78,
|
||||
"ticketSplitRadius": 6,
|
||||
"cuts": {
|
||||
"top": [
|
||||
{
|
||||
"centerRatio": 0.5,
|
||||
"radius": 8
|
||||
},
|
||||
{
|
||||
"centerRatio": 0.75,
|
||||
"radius": 8
|
||||
}
|
||||
],
|
||||
"bottom": [
|
||||
{
|
||||
"centerRatio": 0.5,
|
||||
"radius": 8
|
||||
},
|
||||
{
|
||||
"centerRatio": 0.75,
|
||||
"radius": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"backgroundColor": "#692738",
|
||||
"padding": {
|
||||
"start": 16,
|
||||
"top": 16
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"trapeziumShapeMock": {
|
||||
"parentComposeView": [
|
||||
{
|
||||
"property": {
|
||||
"viewType": "Spacer",
|
||||
"height": "200",
|
||||
"width": "2000",
|
||||
"shape": {
|
||||
"shapeType": "TrapeziumShape",
|
||||
"height": 30,
|
||||
"widthDifference": 20
|
||||
},
|
||||
"backgroundColor": "#795287",
|
||||
"alpha": 0.5,
|
||||
"padding": {
|
||||
"start": 16,
|
||||
"top": 16
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user