Media Object

less than 1 minute read

References

TypeScript

import { Components } from "gd-sprest-bs";

React

import * as React from "react";
import { Media, IconTypes } from "gd-sprest-bsx";

export class IDemo extends React.Component {
    // Render the component
    render() {
        return (
            <Media
                icon=
                body={
                    <div>
                        <h5>Media Object</h5>
                        <p>This is an example of a media object</p>
                    </div>
                }
            />
        );
    }
}

Code Playground