Simple React slots
npm install slotty> Simple React slots

``bash`
npm i slotty
`tsx
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Slot, Fill, SlotProvider } from 'slotty';
const App = () => {
const [fillSlot1, setFillSlot1] = React.useState(true);
const [fillSlot2, setFillSlot2] = React.useState(true);
return ( {fillSlot1 && ( {fillSlot2 && (
Title
Custom title
)}
Custom subtitle
)}
);
};
ReactDOM.render(
``
MIT © EmreErdogan