Builds a component with the given name, attributes, and child.
Component apply(String name, Map<String, String> attributes, Component? child);