Me learning react like an absolute chungus
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

88 lignes
1.9KB

  1. let initState = {
  2. taskIterator: 8,
  3. columnIterator: 6,
  4. columns: [
  5. {
  6. id: 1,
  7. name: "To Do",
  8. color: "#666",
  9. tasks: [
  10. {
  11. id: 1,
  12. title: "Impliment Drag and Drop",
  13. description:
  14. "Impliment some drag and drop functionality so that tasks can actually be moved from one column to another ",
  15. priority: "normal",
  16. },
  17. ],
  18. },
  19. {
  20. id: 2,
  21. name: "Doing",
  22. color: "#777",
  23. tasks: [
  24. {
  25. id: 7,
  26. title: "Do show and tell",
  27. description:
  28. "Show people bad UI design and pretend its not as bad as it is",
  29. priority: "normal",
  30. },
  31. ],
  32. },
  33. {
  34. id: 3,
  35. name: "In Testing",
  36. color: "#888",
  37. tasks: [
  38. {
  39. id: 5,
  40. title: "Regress Tasks",
  41. description: "Move tasks to the previous column",
  42. priority: "important",
  43. },
  44. ],
  45. },
  46. {
  47. id: 4,
  48. name: "In Review",
  49. color: "#AAA",
  50. tasks: [
  51. {
  52. id: 6,
  53. title: "Progress Tasks",
  54. description: "Move tasks to the next column",
  55. priority: "urgent",
  56. },
  57. ],
  58. },
  59. {
  60. id: 5,
  61. name: "Done",
  62. color: "#006600",
  63. tasks: [
  64. {
  65. id: 2,
  66. title: "Remove Task",
  67. description: "Impliment some functionality to remove tasks ",
  68. priority: "urgent",
  69. },
  70. {
  71. id: 3,
  72. title: "Dynamically Create Column",
  73. description: "Be able to create a column dynamically using modals",
  74. priority: "urgent",
  75. },
  76. {
  77. id: 4,
  78. title: "Impliment FlexBox",
  79. description:
  80. "Use flexbox as the primary CSS display style in this project",
  81. priority: "important",
  82. },
  83. ],
  84. },
  85. ],
  86. };
  87. export default initState;