@salesforce/design-system-react
Version:
Salesforce Lightning Design System for React
20 lines (16 loc) • 496 B
JSX
import React from 'react';
import BrandBand from '~/components/brand-band'; // `~` is replaced with design-system-react at runtime
class Example extends React.Component {
render() {
return (
<BrandBand
id="brand-band-no-image"
image="none"
style={{ zIndex: 1 }}
styleContainer={{ border: '1px solid #eee' }}
/>
);
}
}
Example.displayName = 'BrandBandExample';
export default Example; // export is replaced with `ReactDOM.render(<Example />, mountNode);` at runtime