Hey guys once again,
This is a documentation issue only.
In https://elastic.github.io/eui/#/display/card it says:
Horizontal layouts do not work with images, footers, or textAlign. Therefore, these properties will be ignored.
Even though, it is imperative that those properties does not exist as we can see here:
|
if (layout === 'horizontal') { |
|
if (image || footer) { |
|
throw new Error( |
|
"EuiCard: layout = horizontal' cannot be used in conjunction with 'image', 'footer', or 'textAlign'." |
|
); |
|
} |
|
} |
Hey guys once again,
This is a documentation issue only.
In https://elastic.github.io/eui/#/display/card it says:
Even though, it is imperative that those properties does not exist as we can see here:
eui/src/components/card/card.tsx
Lines 217 to 223 in f01c84b