File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const REPL: React.VFC<ColumnDefinition<any>> = props => {
13
13
run,
14
14
tests = [ ] ,
15
15
example = tests . length > 0 ? tests [ 0 ] . params : { } ,
16
+ deprecated
16
17
} = props ;
17
18
18
19
const [ result , setResult ] = useState < any > ( ) ;
@@ -37,6 +38,12 @@ const REPL: React.VFC<ColumnDefinition<any>> = props => {
37
38
38
39
return (
39
40
< div className = "p-5" >
41
+ { deprecated ? (
42
+ < div className = "bg-yellow-100 border-l-4 border-yellow-500 text-yellow-700 p-4 mb-4" role = "alert" >
43
+ < p className = "font-bold" > Deprecated Column</ p >
44
+ < p className = "my-2" > This column has been deprecated. Glide apps which use it will continue to work, but will not appear in new configurations.</ p >
45
+ </ div >
46
+ ) : null }
40
47
< div className = "space-y-6" >
41
48
{ Object . values ( params ) . map ( ( p , i ) => (
42
49
< div key = { i } >
You can’t perform that action at this time.
0 commit comments