...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/files/grid_icon.d2

Documentation: oss.terrastruct.com/d2/e2etests/testdata/files

     1classes: {
     2  2x2: {
     3    grid-rows: 2
     4    grid-columns: 2
     5  }
     6}
     7
     8grid w/ container + icon: {
     9  class: 2x2
    10
    11  a
    12  b: {
    13    b child
    14
    15    icon: https://icons.terrastruct.com/dev%2Fgithub.svg
    16  }
    17  c
    18  d
    19}
    20
    21grid + icon: {
    22  class: 2x2
    23
    24  icon: https://icons.terrastruct.com/dev%2Fgithub.svg
    25
    26  a
    27  b
    28  c
    29  d
    30}
    31
    32grid + icon w/ container: {
    33  class: 2x2
    34
    35  icon: https://icons.terrastruct.com/dev%2Fgithub.svg
    36
    37  a
    38  b: {
    39    b child
    40  }
    41  c
    42  d
    43}
    44
    45no label grid w/ container + icon: "" {
    46  class: 2x2
    47
    48  a
    49  b: {
    50    b child
    51
    52    icon: https://icons.terrastruct.com/dev%2Fgithub.svg
    53  }
    54  c
    55  d
    56}
    57
    58no label grid + icon: "" {
    59  class: 2x2
    60
    61  icon: https://icons.terrastruct.com/dev%2Fgithub.svg
    62
    63  a
    64  b
    65  c
    66  d
    67}

View as plain text