import {render} from 'react-dom'; import React from 'react'; import Island, {Header, Content} from '@jetbrains/ring-ui/components/island/island'; const renderIslandDemo = () => (
Title
Content
); render(renderIslandDemo(), document.getElementById('island'));
:global(.limited-island) { height: 200px; width: 200px; } import {render} from 'react-dom'; import React from 'react'; import Island, {Header, Content} from '@jetbrains/ring-ui/components/island/island'; const renderIslandDemo = () => (
Title
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
); render(renderIslandDemo(), document.getElementById('island'));
:global(.limited-island) { height: 200px; width: 200px; } import {render} from 'react-dom'; import React from 'react'; import {AdaptiveIsland, Header, Content, HeaderResizer} from '@jetbrains/ring-ui/components/island/island'; const renderIslandDemo = () => (
Title
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
); render(renderIslandDemo(), document.getElementById('island'));