blob: 3a5690890105c626d63212e4a6b5752c177bcc18 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import React, {Children} from 'react';
import TileFooterCell from './TileFooterCell.js';
const TileFooter = ({children, align}) => (
<div className={`sdc-tile-footer ${align === 'center' ? 'centered' : ''}`}>
{Children.toArray(children).filter(e => e.type === TileFooterCell)}
</div>
);
export default TileFooter;
|