docs: function create_if_block(component, ctx) {
  	var button;
  
  	function click_handler(event) {
  		component.set({ scrimVisible: true });
  	}
  
  	return {
  		c() {
  			button = createElement("button");
  			button.textContent = "Preview Scrim";
  			addListener(button, "click", click_handler);
  		},
  
  		m(target, anchor) {
  			insert(target, button, anchor);
  		},
  
  		p: noop,
  
  		d(detach) {
  			if (detach) {
  				detachNode(button);
  			}
  
  			removeListener(button, "click", click_handler);
  		}
  	};
  }