Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
seat-booking
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Syed Abdul Rahman
seat-booking
Commits
a22c9d37
Commit
a22c9d37
authored
Jun 03, 2025
by
Syed Abdul Rahman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial commit
parent
54451966
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
58 additions
and
4 deletions
+58
-4
Index.jsx
src/components/Base/Button/Index.jsx
+1
-1
Index.jsx
src/components/Base/Input/Index.jsx
+18
-0
Index.jsx
src/components/Base/Legend/Index.jsx
+13
-0
Index.jsx
src/components/Layout/BookingWrapper/Index.jsx
+1
-1
Seat.jsx
src/components/Layout/BookingWrapper/Seat.jsx
+1
-1
Index.jsx
src/components/Layout/Header/Index.jsx
+1
-1
Index.jsx
src/components/TopLevel/LegendWrapper/Index.jsx
+23
-0
No files found.
src/components/Base/Button/Index.jsx
View file @
a22c9d37
...
...
@@ -17,7 +17,7 @@ const Button = (props) => {
export
default
Button
;
Button
.
prototype
=
{
Button
.
PropTypes
=
{
title
:
PropTypes
.
string
.
isRequired
,
onConfirm
:
PropTypes
.
func
.
isRequired
,
...
...
src/components/Base/Input/Index.jsx
View file @
a22c9d37
import
PropTypes
from
'prop-types'
;
const
Input
=
(
props
)
=>
{
const
{
onValueChange
}
=
props
;
return
(
<
input
onChange=
{
onValueChange
}
/>
)
}
export
default
Input
;
Input
.
PropTypes
=
{
onValueChange
:
PropTypes
.
func
.
isRequired
}
\ No newline at end of file
src/components/Base/Legend/Index.jsx
View file @
a22c9d37
import
styles
from
'./styles.module.css'
;
const
Legend
=
(
props
)
=>
{
const
{
title
,
type
}
=
props
;
return
(
<
div
>
Legend
</
div
>
)
}
export
default
Legend
;
\ No newline at end of file
src/components/Layout/BookingWrapper/Index.jsx
View file @
a22c9d37
...
...
@@ -43,7 +43,7 @@ const BookingWrapper = (props) => {
export
default
BookingWrapper
;
BookingWrapper
.
prototype
=
{
BookingWrapper
.
PropTypes
=
{
seatData
:
PropTypes
.
arrayOf
(
PropTypes
.
shape
({
id
:
PropTypes
.
string
.
isRequired
,
...
...
src/components/Layout/BookingWrapper/Seat.jsx
View file @
a22c9d37
...
...
@@ -10,7 +10,7 @@ const Seat = (props) => {
)
}
Seat
.
prototype
=
{
Seat
.
PropTypes
=
{
onSeatClick
:
PropTypes
.
func
.
isRequired
,
status
:
PropTypes
.
oneOf
([
'available'
,
'reserved'
,
'selected'
])
}
...
...
src/components/Layout/Header/Index.jsx
View file @
a22c9d37
...
...
@@ -8,7 +8,7 @@ const Header = (props) => {
)
}
Header
.
prototype
=
{
Header
.
PropTypes
=
{
title
:
PropTypes
.
string
.
isRequired
}
...
...
src/components/TopLevel/LegendWrapper/Index.jsx
View file @
a22c9d37
import
styles
from
'./styles.module.css'
;
import
PropTypes
from
'prop-types'
;
const
LegendWrapper
=
(
props
)
=>
{
const
{
legendData
}
=
props
;
return
(
<
div
>
LegendWrapper
</
div
>
)
}
export
default
LegendWrapper
;
LegendWrapper
.
PropTypes
=
{
legendData
:
PropTypes
.
arrayOf
(
PropTypes
.
shape
({
title
:
PropTypes
.
string
,
status
:
PropTypes
.
oneOf
([
'available'
,
'reserved'
,
'selected'
]).
isRequired
,
})
)
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment